本帖最后由 z724425910 于 2025-8-21 14:31 编辑
psy625 发表于 2025-8-21 03:19
能把你的自动化发给我下吗,我的洗涤状态state是中文,没办法保存。谢谢啦 ... 两台洗衣机,两个小爱的情况
alias: 洗衣完成,持续提醒
description: ""
triggers:
- trigger: time_pattern
minutes: /11
conditions:
- condition: or
conditions:
- condition: state
entity_id: sensor.ac8226d5df64_cyclephase
state: 洗衣程序运行完抖散中
for:
hours: 0
minutes: 0
seconds: 5
- condition: state
entity_id: sensor.145790109dd0_cyclephase
state: 洗衣程序运行完抖散中
for:
hours: 0
minutes: 0
seconds: 5
- condition: time
after: "08:00:00"
before: "23:00:00"
actions:
- if:
- condition: time
after: "21:00:00"
before: "08:30:00"
- condition: device
type: is_off
device_id: 25ed96a119ed9e2b19923372643292b8
entity_id: 946b6a28fe11ba596c96f43e2e0d56ef
domain: light
enabled: false
then:
- action: xiaomi_miot.intelligent_speaker
data:
entity_id: media_player.xiaomi_l05b_586c_play_control
text: 噔噔噔,衣服洗完了
else:
- action: xiaomi_miot.intelligent_speaker
data:
entity_id: media_player.xiaomi_l05b_586c_play_control
text: 噔噔噔,衣服洗完了
- action: xiaomi_miot.intelligent_speaker
data:
entity_id: media_player.xiaomi_l05c_12e1_play_control
text: 噔噔噔,衣服洗完了
mode: single
|