core: Binary ping sensor unavailable after HA (re)start
The problem
Ping binary sensor not available - entity is not created for unavailable remote hosts or after ping timeout Manually reloading ping integration from HA frontend will make failed entities available
Environment
- Home Assistant Core release with the issue: 0.116.4
- Last working Home Assistant Core release (if known): 0.115 ?
- Operating environment (OS/Container/Supervised/Core): linux
- Integration causing this issue: binary_sensor.ping
Problem-relevant configuration.yaml
- platform: ping
name: Ping Sonoff02
host: sonoff02
count: 2
scan_interval: 300
Traceback/Error logs
2020-11-13 15:05:59 ERROR (MainThread) [homeassistant.components.ping.binary_sensor] Timed out running command: `['ping', '-n', '-q', '-c', '5', '-W1', 'sonoff02']`, after: 8s
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (7 by maintainers)
Unfortunately not, there is not solution cause sensor simply doesn’t exists so you cannot update it. You need to manually click “reload ping integration” after each HA (re)start. Someone should mark that as BUG