I’d like to share a handy automation I’ve set up for our baby bottle warmer. It’s not overly complex, but it’s super convenient and has a high WAF (Wife Approval Factor)!
What I Used:
- Philips Baby Bottle Warmer
- Sonoff S20 flashed with custom code
- Home Assistant 0.73.2
The Setup:
-
Configuration:
yaml
Switch:-
platform: mqtt
name: “Bottle Warmer”
state_topic: “home/midden/keuken/waterkoker”
command_topic: “home/midden/keuken/waterkoker/set”
payload_off: “0”
payload_on: “1”
qos: 1 -
platform: mqtt
name: “Kitchen Spots”
state_topic: “home/midden/keuken/spots”
command_topic: “home/midden/keuken/spots/set”
payload_off: “0”
payload_on: “1”
qos: 1
input_number:
bottle_warm_min:
name: Bottle Warm Minutes
icon: mdi:clock-start
initial: 3
min: 0
max: 6
step: 1bottle_warm_sec:
name: Bottle Warm Seconds
icon: mdi:clock-start
initial: 30
min: 0
max: 60
step: 10 -
-
Automation:
yaml- alias: Bottle Warmer Automation
trigger:
platform: state
entity_id: switch.bottle_warmer
to: ‘on’
action:- service: notify.pushbullet
data:
message: “Bottle warming has started” - delay: ‘00:{{ states.input_number.bottle_warm_min.state | int }}:{{ states.input_number.bottle_warm_sec.state | int }}’
- service: switch.turn_off
entity_id: switch.bottle_warmer - service: notify.pushbullet
data:
message: “Baby bottle is ready” - service: switch.turn_on
entity_id: switch.kitchen_spots - delay: ‘00:03:00’
- service: switch.turn_off
entity_id: switch.kitchen_spots
- service: notify.pushbullet
- alias: Bottle Warmer Automation
Why I Love It:
- Convenience: I can start the bottle warmer from bed, which is a lifesaver during late-night feeds.
- Customizable: The sliders let me adjust the warming time based on how much milk I need and how hot my baby prefers it.
- Notifications: I get alerts when the bottle starts and finishes, so I know exactly when to head downstairs.
- Lighting: The kitchen lights turn on automatically when the bottle is ready, making it easier to grab and go.
This setup has been a game-changer for us, especially during those late-night feeds. It’s simple, effective, and has definitely reduced the stress of nighttime parenting!
If anyone has questions or suggestions to improve this further, I’d love to hear them!