pub struct ZigbeeSlr1b {
    pub linkquality: f64,
    pub local_temperature: f64,
    pub occupied_heating_setpoint: f64,
    pub running_state: ZigbeeSlr1bRunningstate,
    pub system_mode: ZigbeeSlr1bSystemmode,
    pub temperature_setpoint_hold: bool,
    pub temperature_setpoint_hold_duration: f64,
    pub last_seen: Option<LastSeen>,
    pub elapsed: Option<u64>,
}
Expand description

hive:SLR1b zigbee2mqtt link

Fields§

§linkquality: f64

Link quality (signal strength)

§local_temperature: f64

Current temperature measured on the device

§occupied_heating_setpoint: f64

Temperature setpoint

§running_state: ZigbeeSlr1bRunningstate

The current running state

§system_mode: ZigbeeSlr1bSystemmode

Mode of this device

§temperature_setpoint_hold: bool

Zigbee herdsman description: “Prevent changes. false = run normally. true = prevent from making changes. Must be set to false when system_mode = off or true for heat” Boolean values can be an unintuitive way round: value_on = true and value_off = false, consider double checking Zigbee2MQTT to understand what they mean

§temperature_setpoint_hold_duration: f64

Period in minutes for which the setpoint hold will be active. 65535 = attribute not used. 0 to 360 to match the remote display

§last_seen: Option<LastSeen>

Optional last_seen type, set as a global zigbee2mqtt setting

§elapsed: Option<u64>

Optional elapsed type

Trait Implementations§

source§

impl<'de> Deserialize<'de> for ZigbeeSlr1b

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,