Devqon / lovelace-mini-thermostat

A mini lovelace card for controlling a thermostat
MIT License
13 stars 6 forks source link

Add service call example to README #18

Closed artkrz closed 4 years ago

artkrz commented 4 years ago

Please add an example of service call in the readme. There are examples for setting hvac mode but not for service, script call.

Devqon commented 4 years ago

See README:

- type: custom:mini-thermostat
  entity: climate.main_thermostat
  layout:
    preset_buttons:
      - type: service
        entity: scene.turn_on
        label: Hot
        data:
          entity_id: scene.make_it_melting
artkrz commented 4 years ago

Thanks