wez / govee2mqtt

Govee2MQTT: Connect Govee lights and devices to Home Assistant
MIT License
327 stars 18 forks source link

MQTT reporting max and min as 80 when device is set to comfort mode. #154

Open gkwok1 opened 3 months ago

gkwok1 commented 3 months ago

Govee Device SKU

H7151

Govee2MQTT Version

2024.01.24-ea3cd430

Describe the issue

MQTT reporting max and min as 80 when device is set to comfort mode.

Startup Diagnostics

Error ''max' must be > 'min'' when processing MQTT discovery message topic: 'homeassistant/number/gv2mqtt-XXXXXXXXXXXXXXXX-Auto-number/config', message: '{'availability_topic': 'gv2mqtt/availability', 'name': 'Auto', 'origin': {'name': 'gv2mqtt', 'sw_version': '2024.01.24-ea3cd430', 'support_url': 'https://github.com/wez/govee2mqtt'}, 'device': {'name': 'Smart Dehumidifier Max', 'manufacturer': 'Govee', 'model': 'H7151', 'via_device': 'gv2mqtt', 'identifiers': ['gv2mqtt-XXXXXXXXXXXXXXXX']}, 'unique_id': 'gv2mqtt-XXXXXXXXXXXXXXXX-Auto-number', 'command_topic': 'gv2mqtt/number/XXXXXXXXXXXXXXXX/command/Auto/3', 'state_topic': 'gv2mqtt/number/XXXXXXXXXXXXXXXX/state/auto', 'min': 80.0, 'max': 80.0, 'step': 1.0, 'platform': 'mqtt'}'

Additional Logs

No response

Home Assistant Logs

No response

Anything else?

No response