-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moes BHT-002-GCLZB - Floods logs - The requested state (933) exceeds the maximum allowed length (255) #22966
Comments
I'm getting the same error for the Sonoff TRVZB device (firmware version 1.1.5): `Logger: homeassistant.components.mqtt.sensor Cannot update state for entity sensor.sonoff_thermostat_buro_weekly_schedule after processing payload on topic zigbee2mqtt/Sonoff Thermostat Büro. The requested state (477) exceeds the maximum allowed length (255). Fall back to unknown, failed state: {'friday': '00:00/19 00:00/19 00:00/19 00:00/19 00:00/19 00:00/19', 'monday': '00:00/19 00:00/19 00:00/19 00:00/19 00:00/19 00:00/19', 'saturday': '00:00/19 00:00/19 00:00/19 00:00/19 00:00/19 00:00/19', 'sunday': '00:00/19 00:00/19 00:00/19 00:00/19 00:00/19 00:00/19', 'thursday': '00:00/19 00:00/19 00:00/19 00:00/19 00:00/19 00:00/19', 'tuesday': '00:00/19 00:00/19 00:00/19 00:00/19 00:00/19 00:00/19', 'wednesday': '00:00/19 00:00/19 00:00/19 00:00/19 00:00/19 00:00/19'}` |
I came here to say exactly the same thing... would love an official workaround, the length thing seems to be a fixed thing in home assistant, so i'm not sure how it was working ok previously. Either way, as Rich has suggested above I've filtered on the word "schedule" and we'll see what happens. |
Hi, having the same issue with my sonoff TRVZB (firmware 1.1.1).
Has this limit been changed recently in home assistant? EDIT: Sonoff TRVZB is handled in #23199 |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days |
What happened?
Getting warning in homeassistant logs. One state is too long, includes all the days time and temp settings.
If it is not an issue how can I stop this particular warning coming through
What did you expect to happen?
No warnings
How to reproduce it (minimal and precise)
Always happening now
Zigbee2MQTT version
1.38.0
Adapter firmware version
20221226
Adapter
/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
Setup
proxmox running HASS is VM. Core 2024.6.0 Supervisor 2024.06.0 Operating System 12.3 Frontend 20240605.0
Debug log
Logger: homeassistant.components.mqtt.sensor
Source: components/mqtt/util.py:268
integration: MQTT (documentation, issues)
First occurred: 6 June 2024 at 10:33:01 (1909 occurrences)
Last logged: 08:33:28
Cannot update state for entity sensor.underfloor_heating_program after processing payload on topic zigbee2mqtt/underfloor_heating. The requested state (933) exceeds the maximum allowed length (255). Fall back to unknown, failed state: {'saturday_p1_hour': 1, 'saturday_p1_minute': 0, 'saturday_p1_temperature': 17, 'saturday_p2_hour': 5, 'saturday_p2_minute': 0, 'saturday_p2_temperature': 17, 'saturday_p3_hour': 22, 'saturday_p3_minute': 0, 'saturday_p3_temperature': 17, 'saturday_p4_hour': 23, 'saturday_p4_minute': 31, 'saturday_p4_temperature': 24, 'sunday_p1_hour': 1, 'sunday_p1_minute': 0, 'sunday_p1_temperature': 17, 'sunday_p2_hour': 5, 'sunday_p2_minute': 0, 'sunday_p2_temperature': 17, 'sunday_p3_hour': 22, 'sunday_p3_minute': 0, 'sunday_p3_temperature': 17, 'sunday_p4_hour': 23, 'sunday_p4_minute': 31, 'sunday_p4_temperature': 24, 'weekdays_p1_hour': 1, 'weekdays_p1_minute': 0, 'weekdays_p1_temperature': 17, 'weekdays_p2_hour': 5, 'weekdays_p2_minute': 0, 'weekdays_p2_temperature': 17, 'weekdays_p3_hour': 22, 'weekdays_p3_minute': 0, 'weekdays_p3_temperature': 17, 'weekdays_p4_hour': 23, 'weekdays_p4_minute': 31, 'weekdays_p4_temperature': 24}
The text was updated successfully, but these errors were encountered: