Unneeded mqtt client in huegroup
Some checks failed
Build and deploy / Build application (push) Failing after 2m57s
Build and deploy / Build container (push) Has been skipped
Build and deploy / Deploy container (push) Has been skipped

This commit is contained in:
Dreaded_X 2025-01-28 22:43:50 +01:00
parent 856bc3cc96
commit 47d509cec1
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4
2 changed files with 0 additions and 5 deletions

View File

@ -2,7 +2,6 @@ use std::net::SocketAddr;
use anyhow::Result;
use async_trait::async_trait;
use automation_lib::mqtt::WrappedAsyncClient;
use automation_macro::LuaDeviceConfig;
use google_home::errors::ErrorCode;
use google_home::traits::OnOff;
@ -18,8 +17,6 @@ pub struct Config {
pub login: String,
pub group_id: isize,
pub scene_id: String,
#[device_config(from_lua)]
pub client: WrappedAsyncClient,
}
#[derive(Debug, Clone)]

View File

@ -233,7 +233,6 @@ local hallway_top_light = HueGroup.new({
login = hue_token,
group_id = 83,
scene_id = "QeufkFDICEHWeKJ7",
client = mqtt_client,
})
automation.device_manager:add(HueSwitch.new({
name = "SwitchBottom",
@ -313,7 +312,6 @@ local hallway_bottom_lights = HueGroup.new({
login = hue_token,
group_id = 81,
scene_id = "3qWKxGVadXFFG4o",
client = mqtt_client,
})
automation.device_manager:add(hallway_bottom_lights)