mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
English code and fixes (#14929)
Not everybody speak Spanish, also, better names for sensor and scene
This commit is contained in:
parent
8e93ece430
commit
0bfdca7e2f
@ -45,11 +45,11 @@ Conditions can also be part of an action. You can combine multiple service calls
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
automation:
|
automation:
|
||||||
- alias: 'Enciende Despacho'
|
- alias: 'Office at evening'
|
||||||
trigger:
|
trigger:
|
||||||
platform: state
|
platform: state
|
||||||
entity_id: sensor.mini_despacho
|
entity_id: sensor.office_occupancy
|
||||||
to: 'ON'
|
to: 'on'
|
||||||
action:
|
action:
|
||||||
- service: notify.notify
|
- service: notify.notify
|
||||||
data:
|
data:
|
||||||
@ -59,7 +59,7 @@ automation:
|
|||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{% raw %}{{ state_attr('sun.sun', 'elevation') < 4 }}{% endraw %}'
|
value_template: '{% raw %}{{ state_attr('sun.sun', 'elevation') < 4 }}{% endraw %}'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{% raw %}{{ states('sensor.sensorluz_7_0') < 10 }}{% endraw %}'
|
value_template: '{% raw %}{{ states('sensor.office_illuminance') < 10 }}{% endraw %}'
|
||||||
- service: scene.turn_on
|
- service: scene.turn_on
|
||||||
entity_id: scene.DespiertaDespacho
|
entity_id: scene.office_at_evening
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user