diff --git a/modules/nixos/services/home-assistant/mqtt.nix b/modules/nixos/services/home-assistant/mqtt.nix index d21c51b..e0d580b 100644 --- a/modules/nixos/services/home-assistant/mqtt.nix +++ b/modules/nixos/services/home-assistant/mqtt.nix @@ -40,8 +40,6 @@ in homeassistant = lib.optionalAttrs config.services.home-assistant.enable { discovery_topic = "homeassistant"; status_topic = "hass/status"; - legacy_entity_attributes = true; - legacy_triggers = true; }; availability = true; frontend = true; @@ -50,6 +48,7 @@ in }; serial = { port = "/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0"; + adapter = "zstack"; }; advanced = { channel = 20;