diff --git a/homeassistant-mqtt-discovery/src/lib.rs b/homeassistant-mqtt-discovery/src/lib.rs index b1c594c..8a31669 100644 --- a/homeassistant-mqtt-discovery/src/lib.rs +++ b/homeassistant-mqtt-discovery/src/lib.rs @@ -23,19 +23,18 @@ pub struct Common { pub object_id: Option, /// Defines a [template](/docs/configuration/templating/#using-templates-with-the-mqtt-integration) to extract device's availability from the `availability_topic`. To determine the devices's availability result of this template will be compared to `payload_available` and `payload_not_available`. - - #[cfg_attr(feature = "serde", serde(skip_serializing_if = "Option::is_none"))] - availability_template: Option