core: MQTT dimmer values for min and max ignored
The problem
I use a zigbee dimmer which has max and min values for its brightness. They are setup correctly and according to my zigbee2mqtt log they are published to mqtt and home assitant. They seem to be ignored when it comes to dimming. If I use the percentage bar the values are quickly exceeded and have no effect.
What version of Home Assistant Core has the issue?
core-2024.4.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
mqtt & zigbee2mqtt
Link to integration documentation on our website
https://www.home-assistant.io/integrations/mqtt/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
from the z2m log:
Info 2024-04-30 12:20:40MQTT publish: topic 'zigbee2mqtt/EsstischLicht', payload '{"brightness":54,"countdown":0,"light_type":"led","linkquality":184,"max_brightness":150,"min_brightness":15,"power_on_behavior":"off","state":"OFF","switch_type":"momentary"}'
from the HA log:
2024-04-29 17:08:18.172 DEBUG (MainThread) [homeassistant.components.mqtt.models] Rendering incoming payload '{"brightness":55,"countdown":0,"light_type":"led","linkquality":188,"max_brightness":150,"min_brightness":15,"power_on_behavior":"off","state":"OFF","switch_type":"momentary"}' with variables {'entity_id': 'select.esstischlicht_switch_type', 'name': 'Switch type', 'this': <template TemplateStateFromEntityId(select.esstischlicht_switch_type)>} and Template<template=({{ value_json.switch_type }}) renders=505>
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (5 by maintainers)
Ah okay, will try to reproduce it later.