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