# Home Assistant App - Unendliche Möglichkeiten 😀

**URL:** <https://community.homey.app/t/home-assistant-app-unendliche-moglichkeiten/30074>\
**Category:** Apps (DE)\
**Tags:** app\
**Created:** [May 18, 2020, 4:35pm UTC](https://community.homey.app/t/home-assistant-app-unendliche-moglichkeiten/30074 "2020-05-18T16:35:04Z")\
**Posts on this page:** 1\
**Showing post:** 121

<div class="post-metadata">

**Author:** ![Osorkon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/osorkon/32/43026_2.png) [@Osorkon](https://community.homey.app/u/Osorkon)\
**Post date:** [May 31, 2020, 9:57am UTC](https://community.homey.app/t/home-assistant-app-unendliche-moglichkeiten/30074/121 "2020-05-31T09:57:02Z")

</div>

> [@RonnyW](#):
>
> Du meinst einen Button und dann eine Automation auf ein Event?  
> Da muss ich mich mal einlesen. Beim Tap-Event kann man nur call\_service oder toggle verwenden. Es geht wohl nur eine bestehender Service.

Das einfachste wäre über ein script zu gehen.

```auto
temperature_spiritwz_up:
  sequence:
  - service: climate.set_temperature
    data_template:
      entity_id: "climate.spirit_wz"
      temperature: "{{ state_attr('climate.spirit_wz', 'temperature') + value | float }}"
      
temperature_spirit_wz_down:
  sequence:
  - service: climate.set_temperature
    data_template:
      entity_id: "climate.spirit_wz"
      temperature: "{{ state_attr('climate.spirit_wz', 'temperature') - value | float }}"

```

Und dann mit dem Button dein Skript aufrufen

```auto
type: button
tap_action:
  action: call-service
  service: script.temperature_spiritwz_up
  service_data:
    climate_id: climate.spirit_wz
    value: 0.5
icon: 'mdi:plus'
show_name: false

```

```auto
type: button
tap_action:
  action: call-service
  service: script.temperature_spirit_wz_down
  service_data:
    climate_id: climate.spirit_wz
    value: 0.5
icon: 'mdi:minus'
show_name: false

```

---

_[View the full topic](https://community.homey.app/t/home-assistant-app-unendliche-moglichkeiten/30074)._
