-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I don't know if you know about the following since it is in dev:
If I upgrade the device from esphome-tesla-ble/dev
, it sucessfully compiles and works for a minute but then the device crashes and reboots without a helpful log message.
The culprit seems changes like https://github.com/PedroKTFC/esphome-tesla-ble/commit/8341a6f0417ef0692e474abde30032882d804976
in the config for the component, and me not updating the client.yml with the new sensors added.
I believe the internal component code just tries to write the state to those missing sensors and crashes.
This should not happen because the user is expected to only include yaml config for the sensors needed.
The component should check if the sensor is configured before trying to write to it.
Metadata
Metadata
Assignees
Labels
No labels