Closed noxhirsch closed 2 years ago
Thanks for the report. Currently very busy, but I try to get it fixed quickly. You are right it's about the changed Schema.
Don't stress yourself out about it! Only the update is blocked - the sensors work wonderfully without it :)
Hi. I am using Roode for the first time, and now I have the same problem. My ESPHOME is 2022.2.3, and Roode is the latest version 1.5.1. May I ask if I use the old version or have to wait for the Roode update?
In the meantime, remove the text sensors and wait for the update. It will work without them.
How to remove the text sensors
Simply delete them in the node configuration
@nijez Or just comment them out with #
at the beginning of every line:
text_sensor.
Thanks for your answer, now I have another error. what do i need to do?
Failed config
sensor.uptime: [source /config/esphome/peopleCounter32.yaml:147] platform: uptime name: Uptime Sensor id: uptime_sensor update_interval: 60s internal: True on_raw_value: [source /config/esphome/peopleCounter32.yaml:153] then: [source /config/esphome/peopleCounter32.yaml:154]
[source /config/esphome/peopleCounter32.yaml:154]
Unable to find action with the name 'text_sensor.template.publish'.
text_sensor.template.publish: [source /config/esphome/peopleCounter32.yaml:155]
id: uptime_human
state: !lambda |-
int seconds = round(id(uptime_sensor).raw_state);
int days = seconds / (24 * 3600);
seconds = seconds % (24 * 3600);
int hours = seconds / 3600;
seconds = seconds % 3600;
int minutes = seconds / 60;
seconds = seconds % 60;
return (
(days ? String(days) + "d " : "") +
(hours ? String(hours) + "h " : "") +
(minutes ? String(minutes) + "m " : "") +
(String(seconds) + "s")
).c_str();
@nijez You can either comment out / remove the "Uptime Sensor", or re-enable the "Uptime Human Readable" text sensor (since it uses the platform "template" instead of Roode).
either comment out / remove the "Uptime Sensor",
Remove those lambdas
Describe the bug There seem to be some changes in the text sensor in ESPHome v2022.2.0 (and v2022.2.1), that the platform 'text_sensor.roode' isn't found anymore. If I remove my text sensors, I can update the device. I assume that it might have something to do with this PR: https://github.com/esphome/esphome/pull/3172
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context