Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: OvenCooking
- description: ""
- triggers:
- - type: power
- device_id: YOUR_PM_DEVICE_ID
- entity_id: YOUR_PM_ENTITY_ID
- domain: sensor
- trigger: device
- above: 2000
- for:
- hours: 0
- minutes: 0
- seconds: 15
- conditions:
- - condition: state
- entity_id: input_boolean.ovencookinghelper
- state: "off"
- for:
- hours: 0
- minutes: 5
- seconds: 0
- actions:
- - action: input_boolean.toggle
- metadata: {}
- data: {}
- target:
- entity_id: input_boolean.ovencookinghelper
- - action: notify.YOUR_NOTIFY_GROUP
- metadata: {}
- data:
- message: Oven is heating up
- - wait_for_trigger:
- - trigger: numeric_state
- entity_id:
- - sensor.YOURPMDEVICENAME_power
- for:
- hours: 0
- minutes: 0
- seconds: 15
- above: 30
- below: 100
- timeout:
- hours: 0
- minutes: 30
- seconds: 0
- milliseconds: 0
- - action: notify.YOUR_NOTIFY_GROUP
- metadata: {}
- data:
- message: Oven is warmed up. insert the food!
- - wait_for_trigger:
- - trigger: numeric_state
- entity_id:
- - sensor.YOURPMDEVICENAME_power
- for:
- hours: 0
- minutes: 0
- seconds: 15
- below: 1
- timeout:
- hours: 4
- minutes: 0
- seconds: 0
- milliseconds: 0
- - action: notify.YOUR_NOTIFY_GROUP
- metadata: {}
- data:
- message: Food is ready!!
- - action: input_boolean.toggle
- metadata: {}
- data: {}
- target:
- entity_id: input_boolean.ovencookinghelper
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment