From 9dcc769a4abc0652ae27d45050c95ae332fdf14e Mon Sep 17 00:00:00 2001 From: cgtobi Date: Thu, 15 Oct 2020 09:24:20 +0200 Subject: [PATCH] Remove max and min temperature sensors (#41859) --- homeassistant/components/netatmo/sensor.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/homeassistant/components/netatmo/sensor.py b/homeassistant/components/netatmo/sensor.py index 1e6dbc3e386..9cecc19683b 100644 --- a/homeassistant/components/netatmo/sensor.py +++ b/homeassistant/components/netatmo/sensor.py @@ -59,8 +59,6 @@ SENSOR_TYPES = { "sum_rain_1": ["Rain last hour", LENGTH_MILLIMETERS, "mdi:weather-rainy", None], "sum_rain_24": ["Rain today", LENGTH_MILLIMETERS, "mdi:weather-rainy", None], "battery_percent": ["Battery Percent", PERCENTAGE, None, DEVICE_CLASS_BATTERY], - "min_temp": ["Min Temp.", TEMP_CELSIUS, None, DEVICE_CLASS_TEMPERATURE], - "max_temp": ["Max Temp.", TEMP_CELSIUS, None, DEVICE_CLASS_TEMPERATURE], "windangle": ["Direction", None, "mdi:compass-outline", None], "windangle_value": ["Angle", DEGREE, "mdi:compass-outline", None], "windstrength": [ @@ -333,10 +331,6 @@ class NetatmoSensor(NetatmoBase): self._state = data["pressure_trend"] elif self.type == "battery_percent": self._state = data["battery_percent"] - elif self.type == "min_temp": - self._state = data["min_temp"] - elif self.type == "max_temp": - self._state = data["max_temp"] elif self.type == "windangle_value": self._state = fix_angle(data["WindAngle"]) elif self.type == "windangle":