Added OnPresence trait that allows devices to act on changes in presence

This commit is contained in:
2022-12-29 00:24:00 +01:00
parent 8dc3fd42e7
commit 924b3cf862
9 changed files with 145 additions and 18 deletions

View File

@@ -7,6 +7,9 @@ username="mqtt"
port=7878
username="Dreaded_X"
[presence]
topic = "automation/presence"
[devices.kitchen_kettle]
type = "IkeaOutlet"
info = { name = "Kettle", room = "Kitchen" }