I have a task that I don’t know how to complete. The thing is, I bought a smart watering faucet and added it to Home Asssiant, but it’s listed as a switch in HomeKit, and I want it to be listed as “sprinkler”.
How can I change “switch” to “sprinkler” in HomeKit?
P.S: The smart watering faucet is connected via Zigbee to Zigbee2mqtt
Yes, but the problem is that I can not set the time of work through Homekit (I can only turn it on or off). And I want, for example, to set a timer for 12 hours through Homekit. That’s why I want to change
The problem lies in the fact that for some reason there is no “sprinkler” option in the HA GUI. Without thinking twice, I added this code to configuration.yaml
homekit: #sprinkler
- filter: # I'm using the filter only for my sprinkler
include_entities:
- switch.sprinkler # your id of sprinkler
entity_config:
switch.sprinkler: # your id of sprinkler
type: sprinkler
And the magic happened! In my Apple Home app, finally “switch started showing up as ‘sprinkler’”.
But there was another problem. For some reason, I can’t set a timer + I don’t see it.
Does anyone know how to add a timer?
Thanks very much for sharing your solution, @Hotelk. Have you been able to find a solution that includes the timer?
I found this post discussing the same:
Quick note for others that might find this that there is a typo in the last line of the yaml—the “r” is missing in “sprinkler”. For ease of copying, I’ve added the corrected yaml below.
homekit: #splinker
- filter: # I'm using filter only for my splinker
include_entities:
- switch.sprinkler # your id of splinker
entity_config:
switch.sprinkler: # your id of splinker
type: sprinkler # Important !!!