Devices and some settings are now loaded from the config file instead of hardcoded

This commit is contained in:
2022-12-27 04:00:35 +01:00
parent c45ef583b1
commit f735216dc4
8 changed files with 100 additions and 87 deletions

View File

@@ -2,3 +2,18 @@
host="olympus.lan.huizinga.dev"
port=8883
username="mqtt"
[fullfillment]
port=7878
username="Dreaded_X"
[devices.kitchen_kettle]
type = "IkeaOutlet"
info = { name = "Kettle", room = "Kitchen" }
zigbee = { topic = "zigbee2mqtt/kitchen/kettle" }
kettle = {} # This is for future config
[devices.living_workbench]
type = "IkeaOutlet"
info = { name = "Workbench", room = "Living Room" }
zigbee = { topic = "zigbee2mqtt/living/workbench" }