home assistant some facts about polling and template #25
alexandrecuer
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
About polling in Home Assistant :
https://www.home-assistant.io/common-tasks/general/#defining-a-custom-polling-interval
So when going to the UI, no need to migrate the
scan_interval
yaml parameter - https://www.home-assistant.io/integrations/emoncms/#scan_intervalhow to poll each 30s with automations :
value_template
will not be available after migration to config entry as something configurable when setting up the integrationintegrations should provide the data in a user friendly manner and then users can use it in templates if they want
About templating in home assistant, see developer tools > template. It uses the jinja2 engine from pallets
Also see the template integration : https://www.home-assistant.io/integrations/template/
you can do templating from the UI by creating template sensors, each template sensor being a sort of copy of a real workd sensor, with a specific unique_id
You can also do the templating in the configuration.yaml. This permits to deal a whole bunch of entities in one shot, but without unique_ids for the created sensors
Beta Was this translation helpful? Give feedback.
All reactions