Thermostat Scene

I am trying to create a scene that will lock my doors and set my ecobee thermostat to 78. I am not getting any errors but the scene does not work. Could someone please point me in the right direction. I saw that some other people are having the same problems but the answers are not clear. Here is what I have in my scene.yaml file. The doors lock fine.

‘’’

  • name: Baseline
    entities:
    lock.backdoor_deadbolt_10: lock
    lock.backdoor_lock_7: lock
    lock.front_door_lock_11: lock
    service:
    climate.set_tempature:
    data:
    entity_id: climate.thermostat
    temperature: 78
    ‘’’

Wrong symbol for code highlighting. You want the key between Tab and Esc.

‘- name: Baseline’
‘entities:’
‘lock.backdoor_deadbolt_10: lock’
‘lock.backdoor_lock_7: lock’
‘lock.front_door_lock_11: lock’
‘service:’
‘climate.set_tempature:’
‘data:’
‘entity_id: climate.thermostat’
‘temperature: 78’
‘hvac_mode: cool’
is this correct?

This is the first time I have tried to paste code. sorry for the confusion

  • name: Baseline
    ‘‘entities:
    ‘’’‘lock.backdoor_deadbolt_10: lock
    ‘’’‘lock.backdoor_lock_7: lock
    ‘’’‘lock.front_door_lock_11: lock
    ‘‘service:
    ‘’’‘climate.set_tempature:
    ‘’’’’‘data:
    ‘’’’’‘entity_id: climate.thermostat
    ‘’’’’‘temperature: 78
    ‘’’’’'hvac_mode: cool

Read point 11 here: How to help us help you - or How to ask a good question


- name: Baseline
  entities:
    lock.backdoor_deadbolt_10: lock
    lock.backdoor_lock_7: lock
    lock.front_door_lock_11: lock
  service: 
    climate.set_tempature:
      data:
        entity_id: climate.thermostat
        temperature: 78
        hvac_mode: cool
1 Like

Thanks for the help I would have never figured that out.

No worries. Got there in the end. As to your problem…

From reading the Scene Docs I don’t see service calls supported. Only entities and their states.

Perhaps you would be better off with a script instead of a scene?

Or maybe this (really just guessing here as I don’t use the climate component):

- name: Baseline
  entities:
    lock.backdoor_deadbolt_10: lock
    lock.backdoor_lock_7: lock
    lock.front_door_lock_11: lock
    climate.thermostat:
      temperature: 78
      hvac_mode: cool

I’ll give that a try when I wake up. Thanks for the help.

That worked. Thanks

1 Like

Not bad for a guess :slight_smile:

1 Like