-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Could you add zha application platform support for valve
entity as native device type in Home Assistant for Zigbee valve devices?
This native entity device type expose valves as more than a switch to show a valve in different states (Open, Opening, Closed, Closing, Stopped, Unavailable, and Unknown), with device class for water, gas, or none.
Currently the Valve entity looks to only be supported in the zha integration as an extension of the switch entiry as an such is not presented in Home Assistant as a "Valve" entiry but instead as a switch entiry.
(The workarounds that users are using now because this is missing in ZHA is to change the entity type from swich to valve in the entity settings or use the "Change device type of a switch" helper integration).
The native Valve entity device type was introduced in Home Assistant 2024.1
As an proof-of-concept and code example see Matter Valve:
- https://github.com/home-assistant/core/blob/dev/homeassistant/components/matter/valve.py
Another one whth more features/functionality is the MQTT Valve (which is part of the mqtt component in Home Assistant code):
Currently, many other integrations also have native support valves and now provides a valve entity (which also means that the valve entities also work with Home Assistant Voice, Amazon Alexa, and Google Home).
Products include valves for pools, sprinkler systems, and main house gas, or water lines.
PS: Valves compliments the other device types entities that the ZHA integration already supports as application platforms within Home Assistant, i.e.:
- Alarm control panel
- Binary sensor
- Button
- Climate (beta)
- Cover
- Device tracker
- Fan
- Light
- Lock
- Number
- Select
- Sensor
- Siren
- Switch
- Update