How to change polling interval for a device?

Hi,

I am trying to change the polling interval (scan_interval) for some devices but it always use the default settings (30s).

media_player:

  • platform: xbox
    scan_interval:
    seconds: 10
  • platform: webostv
    scan_interval:
    seconds: 10

Does anyone know how I can do this?
Thanks

When I add scan_interval to the config I get an error

webostv:
  host: 192.168.1.1
  name: mylgtv
  scan_interval: 60

Error:

Invalid config for [webostv]: [scan_interval] is an invalid option for [webostv]. 
Check: webostv->webostv->0->scan_interval. (See /config/configuration.yaml, line 610). 

By default it scans every 10 seconds which for me is not needed at all.
Sometimes the scan_interval parameter is not documented for integrations even though they do work.

Maybe someone else has the “final” answer.

I’ve got a similar issue with Schlage wifi locks. It updates very frequently and kills the batteries. Any solutions?