mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
readonly to HA config
This commit is contained in:
@@ -925,7 +925,7 @@ void Mqtt::publish_ha_sensor_config(DeviceValue & dv, const std::string & model,
|
||||
dv.short_name,
|
||||
dv.uom,
|
||||
remove,
|
||||
dv.has_cmd,
|
||||
dv.has_cmd && !dv.has_state(DeviceValueState::DV_READONLY),
|
||||
dv.options,
|
||||
dv.options_size,
|
||||
dv_set_min,
|
||||
|
||||
Reference in New Issue
Block a user