1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

[api] `homeassistant.action replaces homeassistant.service` (#7171)

This commit is contained in:
Jesse Hills
2024-08-01 22:38:36 +12:00
committed by GitHub
parent 144f1d3663
commit cb9906b921
5 changed files with 103 additions and 63 deletions

View File

@@ -13,12 +13,12 @@ esphome:
message: The humidity is {{ my_variable }}%.
variables:
my_variable: "return id(ha_hello_world_temperature).state;"
- homeassistant.service:
service: notify.html5
- homeassistant.action:
action: notify.html5
data:
message: Button was pressed
- homeassistant.service:
service: notify.html5
- homeassistant.action:
action: notify.html5
data:
title: New Humidity
data_template: