From 5af713cf8f33575b73da2f3995deccda564534d9 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Sat, 11 Jan 2025 17:55:20 +0100 Subject: [PATCH] Switched speaker and mixer from KasaOutlet to IkeaOutlet --- config.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/config.lua b/config.lua index 4b6dff5..a8e1d34 100644 --- a/config.lua +++ b/config.lua @@ -78,9 +78,19 @@ automation.device_manager:add(WakeOnLAN.new({ })) -- TODO: Update this to 10.0.0.101 when DHCP want to finally work -local living_mixer = KasaOutlet.new({ identifier = "living_mixer", ip = "10.0.0.101" }) +local living_mixer = IkeaOutlet.new({ + name = "Mixer", + room = "Living Room", + topic = mqtt_z2m("living/mixer"), + client = mqtt_client, +}) automation.device_manager:add(living_mixer) -local living_speakers = KasaOutlet.new({ identifier = "living_speakers", ip = "10.0.0.100" }) +local living_speakers = IkeaOutlet.new({ + name = "Speakers", + room = "Living Room", + topic = mqtt_z2m("living/speakers"), + client = mqtt_client, +}) automation.device_manager:add(living_speakers) automation.device_manager:add(IkeaRemote.new({