Newby alert
I have 4 sensibo sky sensors in 4 different rooms.
Using the sensibo integrations guide
I’ve added
climate:
- platform: sensibo
api_key: YOUR_API_KEY
to my configuration.yaml
and I can now see and control all of my sensibo devices.
What I want to do next is create a switch for easy turn on/off for each of them, and place it in the corresponding room (area)
I’ve added a switch template as suggested in the article, and it indeed added a switch - but just one.
I’m not sure how to create a separate switch for every one of my 4 devices, as I don’t see any indication for id or device name.
So my configuration.yaml
now looks like this:
climate:
- platform: sensibo
api_key: API_KEY
switch:
- platform: template
switches:
ac:
friendly_name: "AC"
value_template: "{{ is_state('climate.ac', 'cool') or is_state('climate.ac', 'heat') or is_state('climate.ac', 'dry') or is_state('climate.ac', 'fan_only') }}"
turn_on:
service: climate.set_hvac_mode
target:
entity_id: climate.ac
data:
hvac_mode: cool
turn_off:
service: climate.set_hvac_mode
target:
entity_id: climate.ac
data:
hvac_mode: off