Richard Arends
Richard Arends
@bogie I took a second look and I have it working with the know_devices.yaml file. This is the change I made ``` diff --git a/includes/tesla.yaml b/includes/tesla.yaml index ebb7fd4..eaf8a05 100644 ---...
@bogie the file known_devices.yaml is created when a device_tracker is configured. In your case, you should probably remove the ‘device_tracker’ line. Device tracker configuration should not be placed in that...
@ybizeul See https://jinja.palletsprojects.com/en/latest/templates/#jinja-filters.default If you change it to float(0), it will apply the float filter on the value before the pipe. If that value is not defined you will get...
I tried to reproduce the error you have, but I failed. You could use `float(0)` indeed, that's feeding (also) a default value of 0 when it is not set. Btw,...
But still the default should catch that. But anyway, a double default does not harm 😄
Can you wrap the output like this, `output: ##{{ states.sensor.tesla_speed.state }}##`. If the output is ##unknown##, then it is indeed a string. Good finding!!
And that is solved by the float(0). At least we know it now. Cool!
Hi, Can you tell with exact register and bit that is, then I will have a look at it.
And then you are referring to this register (5) and bit (7) which you change?? In the current configuration this is still a binary_sensor, so not configurable yet. ``` #...
The lambda code makes it indeed a lot complexer. What you have to keep in mind is that you need to update the complete register in the lambda_write function. If...