Skip to content

Stop or reboot your system

This example shows how to stop or reboot your system using UbiHome. This is useful if you want to stop or reboot your system based on a trigger in Home Assistant.

ubihome:
name: UbiHome Example
power_utils:
button:
- platform: power_utils
name: 'Reboot'
action: reboot
- platform: power_utils
name: 'Shutdown'
action: shutdown
- platform: power_utils
name: 'Hibernate'
action: hibernate
- platform: power_utils
name: 'Logout'
action: logout
- platform: power_utils
name: 'Sleep'
action: sleep