kotborealis / home-assistant-custom-components-cover-time-based-synced

⌛ Time-based cover. Install it via HACS.
21 stars 7 forks source link

Possible to control Somfy RTS device with Shelly i3 synced? #6

Open mngsps opened 2 years ago

mngsps commented 2 years ago

Good evening together :-) I would like to control my somfy blinds with a Shelly i3 Button (works) and would love to have this synced in HA. However, I'm not sure how to configure this.

This is my cover in configuration.yaml:

- platform: cover_time_based_synced devices: rollo_time_based_synced: name: Innenrollo zeitbasiert synchronisiert travelling_time_up: 31 travelling_time_down: 31 close_switch_entity_id: switch.rollo_wohnzimmer_links_close open_switch_entity_id: switch.rollo_wohnzimmer_links_open send_stop_at_ends: False #optional

But how to set the switches? Since the i3 itself does not implement switches, I tried to use template switches:

` rollo_wohnzimmer_links_open: friendly_name: Rollo Wohnzimmer links öffnen turn_on:

These switches will be controlled with the i3 as automations:

`alias: Wohnzimmer schließen description: '' trigger:

and

`alias: Wohnzimmer öffnen description: '' trigger:

Its working and I guess myself is the failure :-) Any Idea how to set this up for me? All the best and kind regards to you!

mngsps commented 2 years ago

Sorry, no ide why it doesnt work with the code (in my edit text, it looks good)