pub struct ZigbeeSlr1c {
pub linkquality: f64,
pub local_temperature: f64,
pub occupied_heating_setpoint: f64,
pub running_state: ZigbeeSlr1cRunningstate,
pub system_mode: ZigbeeSlr1cSystemmode,
pub temperature_setpoint_hold: bool,
pub temperature_setpoint_hold_duration: f64,
pub last_seen: Option<LastSeen>,
pub elapsed: Option<u64>,
}
Expand description
hive:SLR1c 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: ZigbeeSlr1cRunningstate
The current running state
system_mode: ZigbeeSlr1cSystemmode
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 ZigbeeSlr1c
impl<'de> Deserialize<'de> for ZigbeeSlr1c
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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§
impl RefUnwindSafe for ZigbeeSlr1c
impl Send for ZigbeeSlr1c
impl Sync for ZigbeeSlr1c
impl Unpin for ZigbeeSlr1c
impl UnwindSafe for ZigbeeSlr1c
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more