Custom integration to set polling interval for Friends of Hue devices

great, will try and report back!

First cast the value to int in the template, that won’t work like that:

      data_template:
        scan_interval:
          seconds: >
            {{states('input_number.hue_polling_interval') | int }}

Templates render text. If you need numbers you need to explicitly convert them.

Also, about the scan_interval field in there, it is a time_period object, so you can pass a dict like that with seconds:, minutes:, etc, but you could also pass a text like this: “00:00:7” and would work.

I noticed that the data_template was not working and made a fix, please update the repo in the HACS tab (no HA restart needed). I also added the automation example to the README file, enjoy :slight_smile: