npope / home-assistant-crestron-component

Integration for Home Assistant for the Crestron XSIG symbol
Apache License 2.0
59 stars 20 forks source link

Feature Request - Digital Pulse #15

Closed amstoneberger closed 8 months ago

amstoneberger commented 8 months ago

Hi, not sure how possible it would be considering the features/limitations of HA, but it would be nice to have a way to send a digital pulse without being restricted to the switch type in HA. My current use case is using Crestron to turn the brightness of my TV up and down (TV is older and doesn't have an ambient light sensor). We currently do this using a Crestron TST-902 touch panel or the Crestron mobile app. I am trying to find little ways to get to these buttons quicker, and thought not having to open the Crestron app and wait for it to load would be nice. My goal is to get HA home screen widgets to send these button presses to those digital joins in Crestron. The issue right now is with the switch type, it holds that join high and then the TV ramps through the brightness until the switch in HA turns off. Wonder if there is a way in the Crestron section of the HA configuration.yaml file to create different switch "types" behind the scenes in the Crestron integration to only send a single digital pulse when the state of the switch turns on or off. Other than that, I'm finding the other features of this integration very helpful, thanks!

amstoneberger commented 8 months ago

I realized I can do this on the crestron side with one shots, will mess around with that