Skip to content

Add full native support in zha for the Valve entity (device type exposed in Home Assistant)? #528

@Hedda

Description

@Hedda

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:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions