This change has been in the making for 3 years in every other UI integration and scan_interval has been deprecated for a few years before that. Automations give you full control over the frequency that you update the sensor. E.g. If you want it to update it only when you are home, for example.
An abnormal scan interval, or scan intervals for integrations that do not have them is one of the most asked feature requests. Sorry that this is harder than before, but the benefits outweigh the ease of use. The default scan interval should be good enough, if itâs not, you have to make an automation to alter it.
As you said yourself
We give you the most flexibility. I.e. you can dream anything up with the automation engine.
30s v 5 minutes is frankly irrelevant as it wonât satisfy everybody. What if I want more? What if I want less? And by changing it, doesnât it suggest it should be configurable?!
Auto T I also have many things on my network monitored at sensible specified intervals dpeending on the type of device.
Having to edit a database rather than a simpleâish YAML file is a major backward step for me. I suspect some of my devices will fail badly if pinged too often and others will go offline if ot pingâd at the correct frequency to keep them alve. Automations - horrible solution to a minor specification item no longer being provided. You did not have to specify this as the default does suit many devices and systems.
It is configurable with an automation and the homeassistant.update_entity service. This is the path forward, itâs set in stone. Itâs something that isnât going to change. The decision was made years ago at this point. Sorry. All UI integrations are this way and any YAML integration that moves to the UI will adopt this functionality. And before you get upset with me, I did not make this decision, it was a group decision from many volunteer & core developers.
Yes. Thatâs why Iâm confused. I do understand the reasoning, but I still donât get why then change the defaults just after the relase.
Also the deprecation occured so long ago, but was still advised in the documentation without any hint this would be removed (as it is now for the YAML config).
Anyways I do appreciate that it can be done with automations, for me the issue is what are we supposed to do with the device tracker consider_home option.
This release breaks functionality of the device tracker ping platform without a clear documented path to remedy. Again, if Iâm not mistaken.
Iâve had to roll back to 2023.11.3 as my ping stopped working also the RPi 4 CPU Temperature. Ping is used to auto reboot my Router after 16S is the connection cuts and CPU Cooling Fan Control.
I think you may agree with me that this is not 2023.12-related.
This is probably worth to be discussed in another place.
As for âyaml->UIâ trend - totally agree with you.
As for PING:
I had 10-15 ping sensors (mainly device_trackers, 2 binary_sensors) in yaml.
After update I got these (they seemed as âtheseâ) entities added in âIntegrationsâ UI. Then I commented lines for these entities in a code.
And none of these device_trackers were working.
Rebooted - did not help, all tracker not_home.
Removed all PING integrations for device_trackers from UI, only 2 PING binary_sensors remained .
Rebooted.
Quest continues.
Well, my attempts to add ping device_trackers from yaml failed.
Lines in yaml are commented.
Some âdevice_tracker.some_device_ping_device_trackerâ line deleted from âknown_devices.yamlâ.
Ping integrations in UI (automatically created on HA updated) removed.
HA rebooted several times.
But still I see this âdevice_tracker.some_device_ping_device_trackerâ in Entities list. And because of this I cannot add a PING integration with entities with a same name⌠(same for ALL my old entities - they are stuck and cannot be replaced).
Observe that this âmove ping entities from yaml â UIâ functionality is not working in my case. Not mature.
Then please give the flexibility to declutter the Automations list as well! Which has been asked multiple times already⌠as it is just a long list without able to hide these fake Automations made as a stop gap solutionâŚ
Iâm going to stick my oar in again as, in my irritation with the impact on ping, I hadnât appreciated the impact on my device tracker configuration. Here is my highly highly (irony for those of you in America!) complex yaml:
# Use ping at home to detect presence
device_tracker:
- platform: ping
hosts:
my_phone: 172.16.0.116
wife_phone: 172.16.0.118
car: 172.16.0.121
interval_seconds: 1
count: 2
Sorry but where in the whole wide world of sport is whatâs been removed helpful to anyone? How do I replace this with anything âsimpleâ?! I use this to switch on lights at night when we get home. I suppose I could wait 5 minutes, or 30 seconds in the next release, for the lights to come on (again, for those of you in America, irony!).
Agree 100% that it is a step backwards. Having to create 15 new automations (which in themselves have had issues over the past two releases) to get a new interval is hardly a user benefit.
If I have a critical device that is down, I do not want to wait 5 minutes to know about it. This will be yet another piece of functionality I have to move to another solution from Home Assistant.
The logic of making it easy for the user is deeply flawed. How hard can it be to leave one field that defaults to 5 minutes but is editable (with the ability to change from minutes to seconds)?
If they use the same scan interval a simple, single automation covering multiple entities will do the job, which should be the case for those that used the defaults.
That said, I remembered these two smart options by @CentralCommandfrom a year ago which truly allows you to have only one, regardless of varying scan intervals (as long as its constant per entity).
So, please, can everybody still complaining about this just pause for a moment and think about this.
If you donât get this by now:
scan_interval is being deprecated. This has been going on for years. None of this is specific to the ping integration. Itâs just another one on the list. I simply donât get how this can still be a surprise if youâve made any attempt at regularly reading blog posts and release notes.
This is a home automation platform. Automations: Use them. There are so many complaints about using the UI vs YAML, or not having flexibility and control. Here you have it all.