t0bst4r / matterbridge-home-assistant

Apache License 2.0
84 stars 11 forks source link

Feature Request: Support for Boolean_Input (Helpers) #96

Closed tam481 closed 3 months ago

tam481 commented 3 months ago

Hello I've got a few boolean helpers for home/away, day time/night time which I use in my automations. It would be great to be able to switch these on/off (true/false really) to trigger automations.

I hope that this is something you would consider adding if at all possible?

Thank you in advance

t0bst4r commented 3 months ago

Can thy be turned on and off using homeassistant.turn_on and homeassistant.turn_off services?

Is the value of the state on and off?

If both questions are answered with yes, it‘ll be very easy. If not, it will be probably still be easy, but I’d need the correct services and states.

tam481 commented 3 months ago

Would this work?

service: input_boolean.turn_off
metadata: {}
data: {}
target:
  entity_id: input_boolean.device_helper
tam481 commented 3 months ago

I have also checked and it is possible to do with homeassistant.turn_on and homeassistant.turn_off

github-actions[bot] commented 3 months ago

:tada: This issue has been resolved in version 1.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

t0bst4r commented 3 months ago

If you are using the home assistant addon, i'll just need one or two more days to setup a proper release flow. I'll add another comment, when this is released there.