StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
620 stars 111 forks source link

[FR] Shelly 1 with Temperature AddOn with Reed Garage door #566

Open andriuskr opened 3 years ago

andriuskr commented 3 years ago

Is your feature request related to a problem? Please describe.

Connected Shelly 1 with Temperature AddOn to garage door. Reed Switch is connected to Temperature AddOn. In shelly App device configured as Garage Door. In Home assistant this is represented as Switch, and reed switch as status of switch

Describe the solution you'd like

Represent Shelly as Garage door with status from Reed Switch

Describe alternatives you've considered

Additional context

Partovic commented 3 years ago

Is it currently possible at all to access the information? Not using MQTT but could not find a way to get the information about my reed switch connected to the Addon.

andriuskr commented 3 years ago

Is it currently possible at all to access the information? Not using MQTT but could not find a way to get the information about my reed switch connected to the Addon.

it is possible withut mqtt cover:

Partovic commented 3 years ago

Is it currently possible at all to access the information? Not using MQTT but could not find a way to get the information about my reed switch connected to the Addon.

it is possible withut mqtt cover:

  • platform: template covers: garage_door: device_class: garage friendly_name: "Garage Door" value_template: "{{ is_state('sensor.shelly_smarter_home_shsw_1_e8_external_switch', 'on') }}" open_cover: service: switch.turn_on entity_id: switch.shelly_smarter_home_shsw_1_e8 close_cover: service: switch.turn_on stop_cover: service: switch.turn_on entity_id: switch.shelly_smarter_home_shsw_1_e8

thanks for the answer. I don't have that sensor. Maybe I'll have to try to remove the shelly device from Home Assistant and re-add it again. I've added the addon later.