@@ -51,6 +51,10 @@ const COVER_STOPPED_LOOKUP: ReadonlyArray<string> = ["stopped", "stop", "pause",
5151const CONFIG_SWITCH_DISCOVERY_LOOKUP : { [ s : string ] : KeyValue } = {
5252 auto_lock : { entity_category : "config" , icon : "mdi:lock" } ,
5353 away_mode : { entity_category : "config" , icon : "mdi:home-export-outline" } ,
54+ comfort_smiley : { entity_category : "config" , icon : "mdi:emoticon-happy-outline" } ,
55+ enable_display : { entity_category : "config" , icon : "mdi:monitor" } ,
56+ indicator : { entity_category : "config" , icon : "mdi:led-on" } ,
57+ tilt_mode : { entity_category : "config" , icon : "mdi:angle-acute" } ,
5458 valve_detection : { entity_category : "config" , icon : "mdi:pipe-valve" } ,
5559 window_detection : { entity_category : "config" , icon : "mdi:window-open-variant" } ,
5660} as const ;
@@ -67,6 +71,8 @@ const BINARY_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
6771 battery_low : { entity_category : "diagnostic" , device_class : "battery" } ,
6872 button_lock : { entity_category : "config" , icon : "mdi:lock" } ,
6973 calibration : { entity_category : "config" , icon : "mdi:progress-wrench" } ,
74+ calibration_left : { entity_category : "config" , icon : "mdi:progress-wrench" } ,
75+ calibration_right : { entity_category : "config" , icon : "mdi:progress-wrench" } ,
7076 capabilities_configurable_curve : { entity_category : "diagnostic" , icon : "mdi:tune" } ,
7177 capabilities_forward_phase_control : { entity_category : "diagnostic" , icon : "mdi:tune" } ,
7278 capabilities_overload_detection : { entity_category : "diagnostic" , icon : "mdi:tune" } ,
@@ -82,15 +88,19 @@ const BINARY_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
8288 frost_protection : { entity_category : "config" , icon : "mdi:snowflake-thermometer" } ,
8389 heating_stop : { entity_category : "config" , icon : "mdi:radiator-off" } ,
8490 eco_mode : { entity_category : "config" , icon : "mdi:leaf" } ,
91+ enable_display : { entity_category : "config" , icon : "mdi:monitor" } ,
8592 expose_pin : { entity_category : "config" , icon : "mdi:pin" } ,
8693 flip_indicator_light : { entity_category : "config" , icon : "mdi:arrow-left-right" } ,
8794 gas : { device_class : "gas" } ,
95+ indicator : { entity_category : "config" , icon : "mdi:led-on" } ,
8896 indicator_mode : { entity_category : "config" , icon : "mdi:led-on" } ,
8997 invert_cover : { entity_category : "config" , icon : "mdi:arrow-left-right" } ,
9098 led_disabled_night : { entity_category : "config" , icon : "mdi:led-off" } ,
9199 led_indication : { entity_category : "config" , icon : "mdi:led-on" } ,
92100 led_enable : { entity_category : "config" , icon : "mdi:led-on" } ,
93101 motor_reversal : { entity_category : "config" , icon : "mdi:arrow-left-right" } ,
102+ motor_reversal_left : { entity_category : "config" , icon : "mdi:arrow-left-right" } ,
103+ motor_reversal_right : { entity_category : "config" , icon : "mdi:arrow-left-right" } ,
94104 moving : { device_class : "moving" } ,
95105 no_position_support : { entity_category : "config" , icon : "mdi:minus-circle-outline" } ,
96106 noise_detected : { device_class : "sound" } ,
@@ -111,6 +121,7 @@ const BINARY_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
111121 temperature_scale : { entity_category : "config" , icon : "mdi:temperature-celsius" } ,
112122 test : { entity_category : "diagnostic" , icon : "mdi:test-tube" } ,
113123 th_heater : { icon : "mdi:heat-wave" } ,
124+ tilt_mode : { entity_category : "config" , icon : "mdi:angle-acute" } ,
114125 trigger_indicator : { icon : "mdi:led-on" } ,
115126 valve_alarm : { device_class : "problem" } ,
116127 valve_detection : { entity_category : "config" , icon : "mdi:pipe-valve" } ,
@@ -147,8 +158,14 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
147158 boost_time : { entity_category : "config" , icon : "mdi:timer" } ,
148159 calibration : { entity_category : "config" , icon : "mdi:wrench-clock" } ,
149160 calibration_time : { entity_category : "config" , icon : "mdi:wrench-clock" } ,
161+ calibration_time_left : { entity_category : "config" , icon : "mdi:wrench-clock" } ,
162+ calibration_time_right : { entity_category : "config" , icon : "mdi:wrench-clock" } ,
150163 co2 : { device_class : "carbon_dioxide" , state_class : "measurement" } ,
164+ comfort_humidity_max : { device_class : "humidity" , entity_category : "config" , icon : "mdi:water-percent" } ,
165+ comfort_humidity_min : { device_class : "humidity" , entity_category : "config" , icon : "mdi:water-percent" } ,
151166 comfort_temperature : { entity_category : "config" , icon : "mdi:thermometer" } ,
167+ comfort_temperature_max : { device_class : "temperature" , entity_category : "config" , icon : "mdi:thermometer-high" } ,
168+ comfort_temperature_min : { device_class : "temperature" , entity_category : "config" , icon : "mdi:thermometer-low" } ,
152169 cpu_temperature : {
153170 device_class : "temperature" ,
154171 entity_category : "diagnostic" ,
@@ -159,6 +176,7 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
159176 current_phase_b : { device_class : "current" , state_class : "measurement" } ,
160177 current_phase_c : { device_class : "current" , state_class : "measurement" } ,
161178 deadzone_temperature : { entity_category : "config" , icon : "mdi:thermometer" } ,
179+ detection_delay : { entity_category : "config" , icon : "mdi:timer" } ,
162180 detection_interval : { icon : "mdi:timer" } ,
163181 device_temperature : {
164182 device_class : "temperature" ,
@@ -174,6 +192,7 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
174192 external_temperature_input : { device_class : "temperature" , icon : "mdi:thermometer" } ,
175193 external_temperature : { device_class : "temperature" , icon : "mdi:thermometer" , state_class : "measurement" } ,
176194 external_humidity : { device_class : "humidity" , icon : "mdi:water-percent" , state_class : "measurement" } ,
195+ fading_time : { entity_category : "config" , icon : "mdi:timer" } ,
177196 formaldehyd : { state_class : "measurement" } ,
178197 flow : { device_class : "volume_flow_rate" , state_class : "measurement" } ,
179198 gas : { device_class : "gas" , state_class : "total_increasing" , icon : "mdi:meter-gas" } ,
@@ -189,6 +208,7 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
189208 illuminance_calibration : { entity_category : "config" , icon : "mdi:wrench-clock" } ,
190209 illuminance : { device_class : "illuminance" , state_class : "measurement" } ,
191210 illuminance_raw : { state_class : "measurement" } ,
211+ interval_time : { entity_category : "config" , icon : "mdi:timer" } ,
192212 internalTemperature : {
193213 device_class : "temperature" ,
194214 entity_category : "diagnostic" ,
@@ -202,13 +222,20 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
202222 } ,
203223 load_estimate : { state_class : "measurement" } ,
204224 local_temperature : { device_class : "temperature" , state_class : "measurement" } ,
225+ large_motion_detection_distance : { entity_category : "config" , icon : "mdi:signal-distance-variant" } ,
226+ large_motion_detection_sensitivity : { entity_category : "config" , icon : "mdi:motion-sensor" } ,
205227 max_range : { entity_category : "config" , icon : "mdi:signal-distance-variant" } ,
206228 max_temperature : { entity_category : "config" , icon : "mdi:thermometer-high" } ,
207229 max_temperature_limit : { entity_category : "config" , icon : "mdi:thermometer-high" } ,
230+ maximum_range : { entity_category : "config" , icon : "mdi:signal-distance-variant" } ,
231+ measurement_interval : { entity_category : "config" , icon : "mdi:clock-out" } ,
208232 min_temperature_limit : { entity_category : "config" , icon : "mdi:thermometer-low" } ,
209233 min_temperature : { entity_category : "config" , icon : "mdi:thermometer-low" } ,
234+ minimum_range : { entity_category : "config" , icon : "mdi:signal-distance-variant" } ,
210235 minimum_on_level : { entity_category : "config" } ,
211236 measurement_poll_interval : { entity_category : "config" , icon : "mdi:clock-out" } ,
237+ medium_motion_detection_distance : { entity_category : "config" , icon : "mdi:signal-distance-variant" } ,
238+ medium_motion_detection_sensitivity : { entity_category : "config" , icon : "mdi:motion-sensor" } ,
212239 motion_sensitivity : { entity_category : "config" , icon : "mdi:motion-sensor" } ,
213240 noise : { device_class : "sound_pressure" , state_class : "measurement" } ,
214241 noise_detect_level : { icon : "mdi:volume-equal" } ,
@@ -244,14 +271,21 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
244271 icon : "mdi:brightness-5" ,
245272 } ,
246273 smoke_density : { icon : "mdi:google-circles-communities" , state_class : "measurement" } ,
274+ sensitivity : { entity_category : "config" , icon : "mdi:tune" } ,
275+ small_detection_distance : { entity_category : "config" , icon : "mdi:signal-distance-variant" } ,
276+ small_detection_sensitivity : { entity_category : "config" , icon : "mdi:motion-sensor" } ,
277+ soil_calibration : { entity_category : "config" , icon : "mdi:wrench-clock" } ,
247278 soil_fertility : { device_class : "conductivity" , state_class : "measurement" } ,
248279 soil_moisture : { device_class : "moisture" , state_class : "measurement" } ,
280+ soil_sampling : { entity_category : "config" , icon : "mdi:clock-out" } ,
281+ soil_warning : { entity_category : "config" , icon : "mdi:water-percent-alert" } ,
249282 temperature : { device_class : "temperature" , state_class : "measurement" } ,
250283 temperature_probe : { device_class : "temperature" , state_class : "measurement" } ,
251284 temperature_calibration : { entity_category : "config" , icon : "mdi:wrench-clock" } ,
252285 temperature_max : { entity_category : "config" , icon : "mdi:thermometer-plus" } ,
253286 temperature_min : { entity_category : "config" , icon : "mdi:thermometer-minus" } ,
254287 temperature_offset : { icon : "mdi:thermometer-lines" } ,
288+ temperature_sampling : { entity_category : "config" , icon : "mdi:clock-out" } ,
255289 transition : { entity_category : "config" , icon : "mdi:transition" } ,
256290 trigger_count : { icon : "mdi:counter" , enabled_by_default : false , state_class : "measurement" } ,
257291 uv_index : { icon : "mdi:white-balance-sunny" , state_class : "measurement" } ,
@@ -298,6 +332,7 @@ const ENUM_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
298332 mode_phase_control : { entity_category : "config" , icon : "mdi:tune" } ,
299333 mode : { entity_category : "config" , icon : "mdi:tune" } ,
300334 mode_switch : { icon : "mdi:tune" } ,
335+ motor_direction : { entity_category : "config" , icon : "mdi:arrow-left-right" } ,
301336 motion_sensitivity : { entity_category : "config" , icon : "mdi:tune" } ,
302337 operation_mode : { entity_category : "config" , icon : "mdi:tune" } ,
303338 power_on_behavior : { entity_category : "config" , icon : "mdi:power-settings" } ,
@@ -308,11 +343,13 @@ const ENUM_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
308343 sensitivity : { entity_category : "config" , icon : "mdi:tune" } ,
309344 sensor : { icon : "mdi:tune" } ,
310345 sensors_type : { entity_category : "config" , icon : "mdi:tune" } ,
346+ set_limits : { entity_category : "config" , icon : "mdi:ray-start-end" } ,
311347 sound_volume : { entity_category : "config" , icon : "mdi:volume-high" } ,
312348 status : { icon : "mdi:state-machine" } ,
313349 switch_type : { entity_category : "config" , icon : "mdi:tune" } ,
314350 temperature_display_mode : { entity_category : "config" , icon : "mdi:thermometer" } ,
315351 temperature_sensor_select : { entity_category : "config" , icon : "mdi:home-thermometer" } ,
352+ temperature_unit : { entity_category : "config" , icon : "mdi:temperature-celsius" } ,
316353 thermostat_unit : { entity_category : "config" , icon : "mdi:thermometer" } ,
317354 update : { device_class : "update" } ,
318355 volume : { entity_category : "config" , icon : "mdi: volume-high" } ,
@@ -324,7 +361,7 @@ const LIST_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
324361 color_options : { icon : "mdi:palette" } ,
325362 level_config : { entity_category : "diagnostic" } ,
326363 programming_mode : { icon : "mdi:calendar-clock" } ,
327- schedule_settings : { icon : "mdi:calendar-clock" } ,
364+ schedule_settings : { entity_category : "config" , icon : "mdi:calendar-clock" } ,
328365} as const ;
329366
330367const featurePropertyWithoutEndpoint = ( feature : zhc . Feature ) : string => {
0 commit comments