Remove unnecessary defaults from Netatmo sensor (#101528)
This commit is contained in:
parent
fd2edf6c0a
commit
1c590f8d0e
1 changed files with 0 additions and 12 deletions
|
@ -87,7 +87,6 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
|
|||
key="temperature",
|
||||
name="Temperature",
|
||||
netatmo_name="temperature",
|
||||
entity_registry_enabled_default=True,
|
||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
|
@ -104,7 +103,6 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
|
|||
name="CO2",
|
||||
netatmo_name="co2",
|
||||
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
|
||||
entity_registry_enabled_default=True,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.CO2,
|
||||
),
|
||||
|
@ -112,7 +110,6 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
|
|||
key="pressure",
|
||||
name="Pressure",
|
||||
netatmo_name="pressure",
|
||||
entity_registry_enabled_default=True,
|
||||
native_unit_of_measurement=UnitOfPressure.MBAR,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.ATMOSPHERIC_PRESSURE,
|
||||
|
@ -128,7 +125,6 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
|
|||
key="noise",
|
||||
name="Noise",
|
||||
netatmo_name="noise",
|
||||
entity_registry_enabled_default=True,
|
||||
native_unit_of_measurement=UnitOfSoundPressure.DECIBEL,
|
||||
device_class=SensorDeviceClass.SOUND_PRESSURE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
|
@ -137,7 +133,6 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
|
|||
key="humidity",
|
||||
name="Humidity",
|
||||
netatmo_name="humidity",
|
||||
entity_registry_enabled_default=True,
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.HUMIDITY,
|
||||
|
@ -146,7 +141,6 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
|
|||
key="rain",
|
||||
name="Rain",
|
||||
netatmo_name="rain",
|
||||
entity_registry_enabled_default=True,
|
||||
native_unit_of_measurement=UnitOfPrecipitationDepth.MILLIMETERS,
|
||||
device_class=SensorDeviceClass.PRECIPITATION,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
|
@ -164,7 +158,6 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
|
|||
key="sum_rain_24",
|
||||
name="Rain today",
|
||||
netatmo_name="sum_rain_24",
|
||||
entity_registry_enabled_default=True,
|
||||
native_unit_of_measurement=UnitOfPrecipitationDepth.MILLIMETERS,
|
||||
device_class=SensorDeviceClass.PRECIPITATION,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
|
@ -173,7 +166,6 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
|
|||
key="battery_percent",
|
||||
name="Battery Percent",
|
||||
netatmo_name="battery",
|
||||
entity_registry_enabled_default=True,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
|
@ -183,7 +175,6 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
|
|||
key="windangle",
|
||||
name="Direction",
|
||||
netatmo_name="wind_direction",
|
||||
entity_registry_enabled_default=True,
|
||||
icon="mdi:compass-outline",
|
||||
),
|
||||
NetatmoSensorEntityDescription(
|
||||
|
@ -199,7 +190,6 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
|
|||
key="windstrength",
|
||||
name="Wind Strength",
|
||||
netatmo_name="wind_strength",
|
||||
entity_registry_enabled_default=True,
|
||||
native_unit_of_measurement=UnitOfSpeed.KILOMETERS_PER_HOUR,
|
||||
device_class=SensorDeviceClass.WIND_SPEED,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
|
@ -257,14 +247,12 @@ SENSOR_TYPES: tuple[NetatmoSensorEntityDescription, ...] = (
|
|||
key="health_idx",
|
||||
name="Health",
|
||||
netatmo_name="health_idx",
|
||||
entity_registry_enabled_default=True,
|
||||
icon="mdi:cloud",
|
||||
),
|
||||
NetatmoSensorEntityDescription(
|
||||
key="power",
|
||||
name="Power",
|
||||
netatmo_name="power",
|
||||
entity_registry_enabled_default=True,
|
||||
native_unit_of_measurement=UnitOfPower.WATT,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
device_class=SensorDeviceClass.POWER,
|
||||
|
|
Loading…
Add table
Reference in a new issue