Closed nicholasrobinson closed 4 years ago
@dgreif
Sorry for my slow response, life has been busy lately. I’ll try this merge and deployed sometime this week
@nicholasrobinson Thanks for the PR! I ended up using a showAsSwitch
option instead of service
, just to make it a little easier for other users. Deployed in v2.0.0
, which requires node 10+
My baby's hatch was being deactivated by my catch-all turn off the lights at 2am rule...
I've added an optional
service
configuration parameter for the HatchBabyRest accessory, allowing the underlying HAP Service to be either aLightBulb
("light") or aSwitch
("switch").The
Switch
type allows the user to select from "Fan", "Switch" and "Light" in the Home app, giving greater flexibility.