-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add additional entities for Shelly BLU TRV #135244
Conversation
Hey there @balloob, @thecode, @chemelli74, @bdraco, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
4981b50
to
7327ced
Compare
Sorry for the stupid question, but it will be available on next release? |
Do you mean BLU TRV support or additional entities for it? |
The TRV support, because I updated to latest version of HA expecting to be available but they are still available only via MQTT integration |
HA 2025.2.0. But you can configure the device via ZHA integration in earlier versions of HA. |
Many thanks for the clarification! I will wait it because I’m ok with MQTT, but the valve control and other amenities it’s good to have it as a official release |
You can use Shellies Discovery and you will get all entities (valve position, external temperature, calibration, etc.) via MQTT. |
aed07a4
to
5b36e7f
Compare
Thanks guys |
* Add valve position sensor * Add valve position and external sensor temperature numbers * Fix method name * Better name * Add remove condition * Add calibration binary sensor * Add battery and signal strength sensors * Remove condition from ShellyRpcEntity * Typo * Add get_entity_class helper * Add tests * Use snapshots in tests
Breaking change
Proposed change
This PR introduces new entities for Shelly BLU TRV:
battery
sensorsignal strength
sensorvalve position
sensor (only if automatic temperature control is disabled for the device)calibration
binary sensorexternal temperature
number entityvalve position
number entity (only if automatic temperature control is enabled for the device)PR introduces the ability to select an entity class via
entity description
. I added a helperget_entity_class
to easily select the appropriate class for the entity. In future changes we may migrate more entity descriptions to pass information about the appropriate entity class.Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
.To help with the load of incoming pull requests: