akasma74 / Hass-Custom-Alarm

It is a fork of "Yet another take on a home assistant custom alarm" that will exist until its author is back to our Earth
80 stars 31 forks source link

MyQ Cover for Garage Door not in sensor list #75

Closed Anon0ne closed 4 years ago

Anon0ne commented 4 years ago

MyQ Garage Door cover is an attachment for many modern garage door openers. I have one, it's setup in HomeAssistant and it has a state attached to it as well, but I cannot get it into the sensor list for the Alarms. I wanted to include it with my contact sensors.

If more info is required, please let me know.

akasma74 commented 4 years ago

what is entity_of your cover and what states can it be in?

Anon0ne commented 4 years ago

cover.garage_door integration: myq states: open closed

friendly_name: Garage Door supported_features: 3 device_class: garage

akasma74 commented 4 years ago

just add it manually to your bwalarm.yaml, something like this

states:
  armed_away:
    delayed:
    - cover.garage_door

you cannot do it from the panel because it currently displays only binary_sensors, sensors and switches.

Anon0ne commented 4 years ago

Thanks, I will try it that way. Just making sure cover would work with it before I put it into config and risk breaking it.

akasma74 commented 4 years ago

Just making sure cover would work with it before I put it into config and risk breaking it.

Is will work as soon as it reports different states. And no, you won't break anything by adding a new sensor (provided you do it correctly ;)

Let me know how it worked out.

akasma74 commented 4 years ago

I take it works for you. I'm closing this issue now. Feel free to reopen it or create a new one if you need.

Anon0ne commented 4 years ago

If didn't work out but I'll try again. Alarm crashed last time

akasma74 commented 4 years ago

very interesting. looking forward..