From 03e369dc86d154df1b6fcd25260709fc9cc9e903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Thu, 27 Jan 2022 10:03:45 +0100 Subject: [PATCH] Set ping data to None instead of False (#65013) --- homeassistant/components/ping/binary_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/ping/binary_sensor.py b/homeassistant/components/ping/binary_sensor.py index 97e2aff7bff..ff88412a6ef 100644 --- a/homeassistant/components/ping/binary_sensor.py +++ b/homeassistant/components/ping/binary_sensor.py @@ -140,7 +140,7 @@ class PingBinarySensor(RestoreEntity, BinarySensorEntity): self._available = True if last_state is None or last_state.state != STATE_ON: - self._ping.data = False + self._ping.data = None return attributes = last_state.attributes