core: Scan interval missing in UI for Ping (ICMP)

The problem

Hello. I’ve migrated to the UI for Ping in 2023.12.0b2. It carried everything across well, except the scan_interval doesn’t seem to be available in the UI. I tested it to see if it was still working in the background, but it seems it has in fact changed all my ping binaries to 5 minutes. I had one set to 30 seconds, and others set to 30 minutes. I would really like to keep one at 30 seconds as I have automations running that needs to know the close to real time state of one of the devices.

What version of Home Assistant Core has the issue?

2023.12.0b2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Ping (ICMP)

Link to integration documentation on our website

https://rc.home-assistant.io/integrations/ping/

Example YAML snippet

binary_sensor:
  - platform: ping
    host: 192.168.1.95
    name: "Birddog-PLAY"
    count: 2
    scan_interval: 30

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Reactions: 5
  • Comments: 19 (5 by maintainers)

Most upvoted comments

I’m not quite sure what the philosophical problem is with making the ping interval configurable on the UI, especially as it was a feature that was available previously.

For me, 5 minutes was way too long for the purpose I was using it for, whereas 15 seconds is a bit short (but preferable to 5 minutes anyway).

The “solution” to use a time pattern to get more frequent updates works, but also means that the logbook fills up with junk entries, which makes it not really a practical solution for many people.

@Solarunit you set your custom value as a time pattern trigger in the automation image

description: ""
trigger:
  - platform: time_pattern
    seconds: "30"
condition: []
action:
  - service: homeassistant.update_entity
    target:
      entity_id: binary_sensor.birddog_play
    data: {}
mode: single

Oh yes, sorry I forgot to check the incompatible section. Was this decision made to keep the UI clean, or are the devs trying to have no integrations with scan intervals for more uniformity amongst integrations? I will definitely miss scan interval but can work around it as you said.