This commit is contained in:
parent
8cb9ad6152
commit
91a49f4aa7
|
@ -151,7 +151,6 @@ home_return:
|
|||
- service: shell_command.say_welcome_back # 欢迎问候
|
||||
- service: shell_command.send_volume_up # wakeup screen
|
||||
- service: shell_command.open_musicbee # 打开播放器
|
||||
- service: shell_command.keep_screen_on # 关闭自动锁屏
|
||||
- delay: 00:00:03
|
||||
- service: shell_command.send_next_track # 播放(远程电脑上已开启的播放器)
|
||||
|
||||
|
@ -165,6 +164,6 @@ home_leave:
|
|||
entity_id:
|
||||
- switch.amplifier_smart
|
||||
- switch.water_pump
|
||||
- switch.aircon_power_off
|
||||
- switch.aircon_smart
|
||||
- group.light
|
||||
- service: shell_command.screen_off # 息屏
|
||||
|
|
|
@ -25,6 +25,15 @@
|
|||
# stations:
|
||||
# - us-consulate
|
||||
|
||||
# https://www.home-assistant.io/integrations/mitemp_bt/
|
||||
# - platform: mitemp_bt
|
||||
# mac: A4:C1:38:8E:DC:A2
|
||||
# name: Mi Sensor
|
||||
# timeout: 100
|
||||
# force_update: true
|
||||
# median: 1
|
||||
# cache_value: 3600
|
||||
|
||||
# 获取attribute作为记录
|
||||
# 不少部件只返回一个状态states,但有很多详情在attribute里。
|
||||
# 可是HA无法直接统计attr的数字,所以需要单独提取出来记录一份。
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
{% if states('sensor.pudong_temperature') | float < 15 %}
|
||||
30
|
||||
{% elif states('sensor.pudong_temperature') | float > 20 %}
|
||||
28
|
||||
30
|
||||
{% else %}
|
||||
27
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue