grzegorz914 / homebridge-denon-tv

Homebridge plugin for Denon/Marantz AV Receivers, publish as independent external platform accessory.
MIT License
73 stars 15 forks source link

Feature request: input mode presence #131

Closed elministerr closed 2 years ago

elministerr commented 2 years ago

Hi,

thanks for your great plugin. it works like a charm!

But there is one thing i miss there. is it possible to create/build a presence sensor for input modes ?

e.g create a presence sensor for DVD Input and when DVD Input are selected the presence sensor are turned on and when deselected it turns off.

This could help me for some automations.

Regards

grzegorz914 commented 2 years ago

@elministerr can You test 3.16.0-beta and let me know the reference can be found beta branch: https://github.com/grzegorz914/homebridge-denon-tv/tree/3.16.0-beta

elministerr commented 2 years ago

wow.. that was quick :) it seems to be working. it would be nice to change the type from switch to motion/occupancy sensor. In my case i don't need a switch. I try this now with a few automations and let you know how it works. Thanks!

grzegorz914 commented 2 years ago

try beta 12, possible to select as type are Switch, Button, Motion Sensor, Occupancy Sensor

elministerr commented 2 years ago

Well done! Thanks

Just a improvment in the UI. Hide the "Tile Type" Field if "Switch" is not checked.