Removed spammy debug message
This commit is contained in:
parent
d39432fa22
commit
03f1790627
|
@ -61,7 +61,6 @@ impl LuaDeviceCreate for HueSwitch {
|
||||||
impl OnMqtt for HueSwitch {
|
impl OnMqtt for HueSwitch {
|
||||||
async fn on_mqtt(&self, message: Publish) {
|
async fn on_mqtt(&self, message: Publish) {
|
||||||
// Check if the message is from the deviec itself or from a remote
|
// Check if the message is from the deviec itself or from a remote
|
||||||
debug!(id = Device::get_id(self), "Mqtt message received");
|
|
||||||
if matches(&message.topic, &self.config.mqtt.topic) {
|
if matches(&message.topic, &self.config.mqtt.topic) {
|
||||||
let action = match serde_json::from_slice::<Zigbee929003017102>(&message.payload) {
|
let action = match serde_json::from_slice::<Zigbee929003017102>(&message.payload) {
|
||||||
Ok(message) => message.action,
|
Ok(message) => message.action,
|
||||||
|
|
|
@ -61,7 +61,6 @@ impl LuaDeviceCreate for IkeaRemote {
|
||||||
impl OnMqtt for IkeaRemote {
|
impl OnMqtt for IkeaRemote {
|
||||||
async fn on_mqtt(&self, message: Publish) {
|
async fn on_mqtt(&self, message: Publish) {
|
||||||
// Check if the message is from the deviec itself or from a remote
|
// Check if the message is from the deviec itself or from a remote
|
||||||
debug!(id = Device::get_id(self), "Mqtt message received");
|
|
||||||
if matches(&message.topic, &self.config.mqtt.topic) {
|
if matches(&message.topic, &self.config.mqtt.topic) {
|
||||||
let action = match RemoteMessage::try_from(message) {
|
let action = match RemoteMessage::try_from(message) {
|
||||||
Ok(message) => message.action(),
|
Ok(message) => message.action(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user