Home assistant doesn’t support valves (water valves) they just show up as switches.
HomeKit does support valves, it would be great if my water zwave water valve would show up as a valve not a switch
Home assistant doesn’t support valves (water valves) they just show up as switches.
HomeKit does support valves, it would be great if my water zwave water valve would show up as a valve not a switch
4 years later and no progress on this
This would be a nice feature. I have 6 irrigation zones and a patio misting system that would be nice to have as valves in HomeKit.
I agree that the switch domain is not intuitive to the new user. It took me a year to even understand what a domain is. I still have to refer to my notes:
But the development of Home Assistant is so far down that lexicological path that I would vote against changing the switch domain.
What I would support is the ability to alias the domain somehow so that you could use “valve” and “switch” interchangeably. (And confuse anyone else reading your code).
A valve or solenoid is a switch. Get over it.
ESPHome does allow for a more meaningful ID inside the ESPHome code. I do so little in the Home Assistant config files now; Whenever I can, I prefer ESPHome.
switch:
- platform: gpio
name: Sprinkler Relay
id: sprinkler_relay
pin: GPIO12
Now, anywhere in my ESPHome code, I control Sprinkler_Relay, not switch.Sprinkler Relay
on_press:
- homeassistant.service:
service: switch.turn_on: sprinkler_relay