-
Notifications
You must be signed in to change notification settings - Fork 100
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
Dynamic Polling Automation not working #946
Comments
You should use the name of your binary sensor (depends on the name of your integration). For my integration it is binary_sensor.model_y_online (maybe the code above is a little bit outdated). |
Ah ok. I guess the So I have this which seems to make the HA UI happy:
|
You have to use the VIN attribute: state_attr('binary_sensor.jess_online','vin') |
Ah yes, that makes sense now.
|
In case anyone else looks this up. This wasn't actually working as it needs to be written as"
It would be good to have access to the polling interval through a sensor. |
I have updated the Wiki with the latest sensor names. |
I am setting up the Dynamic Polling as explained here: https://github.com/alandtse/tesla/wiki/Dynamic-Polling-Frequency
When I run the action of an automation to set it to 30s I see no difference.
I also get the error: Error rendering data template: UndefinedError: 'dict object' has no attribute 'entity_id'
What exactly is the binary_sensor referred to in these lines?
I have no sensor ending with
_online_sensor
. Has this perhaps been renamed?I also have no entity called
tesla_custom.polling_interval
.The text was updated successfully, but these errors were encountered: