Remove previously deprecated raw value attribute from onewire (#150112)

This commit is contained in:
G Johansson
2025-08-06 15:24:22 +02:00
committed by GitHub
parent e1f6820cb6
commit 260ea9a3be
5 changed files with 0 additions and 114 deletions

View File

@@ -53,8 +53,6 @@ class OneWireEntity(Entity):
"""Return the state attributes of the entity."""
return {
"device_file": self._device_file,
# raw_value attribute is deprecated and can be removed in 2025.8
"raw_value": self._value_raw,
}
def _read_value(self) -> str:

View File

@@ -39,7 +39,6 @@
'attributes': ReadOnlyDict({
'device_file': '/12.111111111111/sensed.A',
'friendly_name': '12.111111111111 Sensed A',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.12_111111111111_sensed_a',
@@ -89,7 +88,6 @@
'attributes': ReadOnlyDict({
'device_file': '/12.111111111111/sensed.B',
'friendly_name': '12.111111111111 Sensed B',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.12_111111111111_sensed_b',
@@ -139,7 +137,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/sensed.0',
'friendly_name': '29.111111111111 Sensed 0',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.29_111111111111_sensed_0',
@@ -189,7 +186,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/sensed.1',
'friendly_name': '29.111111111111 Sensed 1',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.29_111111111111_sensed_1',
@@ -239,7 +235,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/sensed.2',
'friendly_name': '29.111111111111 Sensed 2',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.29_111111111111_sensed_2',
@@ -289,7 +284,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/sensed.3',
'friendly_name': '29.111111111111 Sensed 3',
'raw_value': None,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.29_111111111111_sensed_3',
@@ -339,7 +333,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/sensed.4',
'friendly_name': '29.111111111111 Sensed 4',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.29_111111111111_sensed_4',
@@ -389,7 +382,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/sensed.5',
'friendly_name': '29.111111111111 Sensed 5',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.29_111111111111_sensed_5',
@@ -439,7 +431,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/sensed.6',
'friendly_name': '29.111111111111 Sensed 6',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.29_111111111111_sensed_6',
@@ -489,7 +480,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/sensed.7',
'friendly_name': '29.111111111111 Sensed 7',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.29_111111111111_sensed_7',
@@ -539,7 +529,6 @@
'attributes': ReadOnlyDict({
'device_file': '/3A.111111111111/sensed.A',
'friendly_name': '3A.111111111111 Sensed A',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.3a_111111111111_sensed_a',
@@ -589,7 +578,6 @@
'attributes': ReadOnlyDict({
'device_file': '/3A.111111111111/sensed.B',
'friendly_name': '3A.111111111111 Sensed B',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.3a_111111111111_sensed_b',
@@ -640,7 +628,6 @@
'device_class': 'problem',
'device_file': '/EF.111111111113/hub/short.0',
'friendly_name': 'EF.111111111113 Hub short on branch 0',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.ef_111111111113_hub_short_on_branch_0',
@@ -691,7 +678,6 @@
'device_class': 'problem',
'device_file': '/EF.111111111113/hub/short.1',
'friendly_name': 'EF.111111111113 Hub short on branch 1',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.ef_111111111113_hub_short_on_branch_1',
@@ -742,7 +728,6 @@
'device_class': 'problem',
'device_file': '/EF.111111111113/hub/short.2',
'friendly_name': 'EF.111111111113 Hub short on branch 2',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.ef_111111111113_hub_short_on_branch_2',
@@ -793,7 +778,6 @@
'device_class': 'problem',
'device_file': '/EF.111111111113/hub/short.3',
'friendly_name': 'EF.111111111113 Hub short on branch 3',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'binary_sensor.ef_111111111113_hub_short_on_branch_3',

View File

@@ -52,7 +52,6 @@
'11',
'12',
]),
'raw_value': 12.0,
}),
'context': <ANY>,
'entity_id': 'select.28_111111111111_temperature_resolution',

View File

@@ -45,7 +45,6 @@
'device_class': 'temperature',
'device_file': '/10.111111111111/temperature',
'friendly_name': '10.111111111111 Temperature',
'raw_value': 25.123,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -103,7 +102,6 @@
'device_class': 'pressure',
'device_file': '/12.111111111111/TAI8570/pressure',
'friendly_name': '12.111111111111 Pressure',
'raw_value': 1025.123,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPressure.MBAR: 'mbar'>,
}),
@@ -161,7 +159,6 @@
'device_class': 'temperature',
'device_file': '/12.111111111111/TAI8570/temperature',
'friendly_name': '12.111111111111 Temperature',
'raw_value': 25.123,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -215,7 +212,6 @@
'attributes': ReadOnlyDict({
'device_file': '/1D.111111111111/counter.A',
'friendly_name': '1D.111111111111 Counter A',
'raw_value': 251123.0,
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
}),
'context': <ANY>,
@@ -268,7 +264,6 @@
'attributes': ReadOnlyDict({
'device_file': '/1D.111111111111/counter.B',
'friendly_name': '1D.111111111111 Counter B',
'raw_value': 248125.0,
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
}),
'context': <ANY>,
@@ -325,7 +320,6 @@
'device_class': 'voltage',
'device_file': '/20.111111111111/latestvolt.A',
'friendly_name': '20.111111111111 Latest voltage A',
'raw_value': 1.11,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -383,7 +377,6 @@
'device_class': 'voltage',
'device_file': '/20.111111111111/latestvolt.B',
'friendly_name': '20.111111111111 Latest voltage B',
'raw_value': 2.22,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -441,7 +434,6 @@
'device_class': 'voltage',
'device_file': '/20.111111111111/latestvolt.C',
'friendly_name': '20.111111111111 Latest voltage C',
'raw_value': 3.33,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -499,7 +491,6 @@
'device_class': 'voltage',
'device_file': '/20.111111111111/latestvolt.D',
'friendly_name': '20.111111111111 Latest voltage D',
'raw_value': 4.44,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -557,7 +548,6 @@
'device_class': 'voltage',
'device_file': '/20.111111111111/volt.A',
'friendly_name': '20.111111111111 Voltage A',
'raw_value': 1.1,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -615,7 +605,6 @@
'device_class': 'voltage',
'device_file': '/20.111111111111/volt.B',
'friendly_name': '20.111111111111 Voltage B',
'raw_value': 2.2,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -673,7 +662,6 @@
'device_class': 'voltage',
'device_file': '/20.111111111111/volt.C',
'friendly_name': '20.111111111111 Voltage C',
'raw_value': 3.3,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -731,7 +719,6 @@
'device_class': 'voltage',
'device_file': '/20.111111111111/volt.D',
'friendly_name': '20.111111111111 Voltage D',
'raw_value': 4.4,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -789,7 +776,6 @@
'device_class': 'temperature',
'device_file': '/22.111111111111/temperature',
'friendly_name': '22.111111111111 Temperature',
'raw_value': None,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -844,7 +830,6 @@
'device_class': 'humidity',
'device_file': '/26.111111111111/HIH3600/humidity',
'friendly_name': '26.111111111111 HIH3600 humidity',
'raw_value': 73.7563,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -899,7 +884,6 @@
'device_class': 'humidity',
'device_file': '/26.111111111111/HIH4000/humidity',
'friendly_name': '26.111111111111 HIH4000 humidity',
'raw_value': 74.7563,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -954,7 +938,6 @@
'device_class': 'humidity',
'device_file': '/26.111111111111/HIH5030/humidity',
'friendly_name': '26.111111111111 HIH5030 humidity',
'raw_value': 75.7563,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -1009,7 +992,6 @@
'device_class': 'humidity',
'device_file': '/26.111111111111/HTM1735/humidity',
'friendly_name': '26.111111111111 HTM1735 humidity',
'raw_value': None,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -1064,7 +1046,6 @@
'device_class': 'humidity',
'device_file': '/26.111111111111/humidity',
'friendly_name': '26.111111111111 Humidity',
'raw_value': 72.7563,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -1119,7 +1100,6 @@
'device_class': 'illuminance',
'device_file': '/26.111111111111/S3-R1-A/illuminance',
'friendly_name': '26.111111111111 Illuminance',
'raw_value': 65.8839,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': 'lx',
}),
@@ -1177,7 +1157,6 @@
'device_class': 'pressure',
'device_file': '/26.111111111111/B1-R1-A/pressure',
'friendly_name': '26.111111111111 Pressure',
'raw_value': 969.265,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPressure.MBAR: 'mbar'>,
}),
@@ -1235,7 +1214,6 @@
'device_class': 'temperature',
'device_file': '/26.111111111111/temperature',
'friendly_name': '26.111111111111 Temperature',
'raw_value': 25.123,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -1293,7 +1271,6 @@
'device_class': 'voltage',
'device_file': '/26.111111111111/VAD',
'friendly_name': '26.111111111111 VAD voltage',
'raw_value': 2.97,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -1351,7 +1328,6 @@
'device_class': 'voltage',
'device_file': '/26.111111111111/VDD',
'friendly_name': '26.111111111111 VDD voltage',
'raw_value': 4.74,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -1409,7 +1385,6 @@
'device_class': 'voltage',
'device_file': '/26.111111111111/vis',
'friendly_name': '26.111111111111 VIS voltage difference',
'raw_value': 0.12,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -1467,7 +1442,6 @@
'device_class': 'temperature',
'device_file': '/28.111111111111/temperature',
'friendly_name': '28.111111111111 Temperature',
'raw_value': 26.984,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -1525,7 +1499,6 @@
'device_class': 'temperature',
'device_file': '/28.222222222222/temperature9',
'friendly_name': '28.222222222222 Temperature',
'raw_value': 26.984,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -1583,7 +1556,6 @@
'device_class': 'temperature',
'device_file': '/28.222222222223/temperature',
'friendly_name': '28.222222222223 Temperature',
'raw_value': 26.984,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -1641,7 +1613,6 @@
'device_class': 'temperature',
'device_file': '/30.111111111111/temperature',
'friendly_name': '30.111111111111 Temperature',
'raw_value': 26.984,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -1699,7 +1670,6 @@
'device_class': 'temperature',
'device_file': '/30.111111111111/typeK/temperature',
'friendly_name': '30.111111111111 Thermocouple K temperature',
'raw_value': 173.7563,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -1757,7 +1727,6 @@
'device_class': 'voltage',
'device_file': '/30.111111111111/vis',
'friendly_name': '30.111111111111 VIS voltage gradient',
'raw_value': 0.12,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -1815,7 +1784,6 @@
'device_class': 'voltage',
'device_file': '/30.111111111111/volt',
'friendly_name': '30.111111111111 Voltage',
'raw_value': 2.97,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -1873,7 +1841,6 @@
'device_class': 'temperature',
'device_file': '/3B.111111111111/temperature',
'friendly_name': '3B.111111111111 Temperature',
'raw_value': 28.243,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -1931,7 +1898,6 @@
'device_class': 'temperature',
'device_file': '/42.111111111111/temperature',
'friendly_name': '42.111111111111 Temperature',
'raw_value': 29.123,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -1986,7 +1952,6 @@
'device_class': 'humidity',
'device_file': '/7E.111111111111/EDS0068/humidity',
'friendly_name': '7E.111111111111 Humidity',
'raw_value': 41.375,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -2041,7 +2006,6 @@
'device_class': 'illuminance',
'device_file': '/7E.111111111111/EDS0068/light',
'friendly_name': '7E.111111111111 Illuminance',
'raw_value': 65.8839,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': 'lx',
}),
@@ -2099,7 +2063,6 @@
'device_class': 'pressure',
'device_file': '/7E.111111111111/EDS0068/pressure',
'friendly_name': '7E.111111111111 Pressure',
'raw_value': 1012.21,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPressure.MBAR: 'mbar'>,
}),
@@ -2157,7 +2120,6 @@
'device_class': 'temperature',
'device_file': '/7E.111111111111/EDS0068/temperature',
'friendly_name': '7E.111111111111 Temperature',
'raw_value': 13.9375,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -2215,7 +2177,6 @@
'device_class': 'pressure',
'device_file': '/7E.222222222222/EDS0066/pressure',
'friendly_name': '7E.222222222222 Pressure',
'raw_value': 1012.21,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPressure.MBAR: 'mbar'>,
}),
@@ -2273,7 +2234,6 @@
'device_class': 'temperature',
'device_file': '/7E.222222222222/EDS0066/temperature',
'friendly_name': '7E.222222222222 Temperature',
'raw_value': 13.9375,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -2328,7 +2288,6 @@
'device_class': 'humidity',
'device_file': '/A6.111111111111/HIH3600/humidity',
'friendly_name': 'A6.111111111111 HIH3600 humidity',
'raw_value': 73.7563,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -2383,7 +2342,6 @@
'device_class': 'humidity',
'device_file': '/A6.111111111111/HIH4000/humidity',
'friendly_name': 'A6.111111111111 HIH4000 humidity',
'raw_value': 74.7563,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -2438,7 +2396,6 @@
'device_class': 'humidity',
'device_file': '/A6.111111111111/HIH5030/humidity',
'friendly_name': 'A6.111111111111 HIH5030 humidity',
'raw_value': 75.7563,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -2493,7 +2450,6 @@
'device_class': 'humidity',
'device_file': '/A6.111111111111/HTM1735/humidity',
'friendly_name': 'A6.111111111111 HTM1735 humidity',
'raw_value': None,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -2548,7 +2504,6 @@
'device_class': 'humidity',
'device_file': '/A6.111111111111/humidity',
'friendly_name': 'A6.111111111111 Humidity',
'raw_value': 72.7563,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -2603,7 +2558,6 @@
'device_class': 'illuminance',
'device_file': '/A6.111111111111/S3-R1-A/illuminance',
'friendly_name': 'A6.111111111111 Illuminance',
'raw_value': 65.8839,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': 'lx',
}),
@@ -2661,7 +2615,6 @@
'device_class': 'pressure',
'device_file': '/A6.111111111111/B1-R1-A/pressure',
'friendly_name': 'A6.111111111111 Pressure',
'raw_value': 969.265,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPressure.MBAR: 'mbar'>,
}),
@@ -2719,7 +2672,6 @@
'device_class': 'temperature',
'device_file': '/A6.111111111111/temperature',
'friendly_name': 'A6.111111111111 Temperature',
'raw_value': 25.123,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -2777,7 +2729,6 @@
'device_class': 'voltage',
'device_file': '/A6.111111111111/VAD',
'friendly_name': 'A6.111111111111 VAD voltage',
'raw_value': 2.97,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -2835,7 +2786,6 @@
'device_class': 'voltage',
'device_file': '/A6.111111111111/VDD',
'friendly_name': 'A6.111111111111 VDD voltage',
'raw_value': 4.74,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -2893,7 +2843,6 @@
'device_class': 'voltage',
'device_file': '/A6.111111111111/vis',
'friendly_name': 'A6.111111111111 VIS voltage difference',
'raw_value': 0.12,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>,
}),
@@ -2948,7 +2897,6 @@
'device_class': 'humidity',
'device_file': '/EF.111111111111/humidity/humidity_corrected',
'friendly_name': 'EF.111111111111 Humidity',
'raw_value': 67.745,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -3003,7 +2951,6 @@
'device_class': 'humidity',
'device_file': '/EF.111111111111/humidity/humidity_raw',
'friendly_name': 'EF.111111111111 Raw humidity',
'raw_value': 65.541,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -3061,7 +3008,6 @@
'device_class': 'temperature',
'device_file': '/EF.111111111111/humidity/temperature',
'friendly_name': 'EF.111111111111 Temperature',
'raw_value': 25.123,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
}),
@@ -3119,7 +3065,6 @@
'device_class': 'pressure',
'device_file': '/EF.111111111112/moisture/sensor.2',
'friendly_name': 'EF.111111111112 Moisture 2',
'raw_value': 43.123,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPressure.CBAR: 'cbar'>,
}),
@@ -3177,7 +3122,6 @@
'device_class': 'pressure',
'device_file': '/EF.111111111112/moisture/sensor.3',
'friendly_name': 'EF.111111111112 Moisture 3',
'raw_value': 44.123,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPressure.CBAR: 'cbar'>,
}),
@@ -3232,7 +3176,6 @@
'device_class': 'humidity',
'device_file': '/EF.111111111112/moisture/sensor.0',
'friendly_name': 'EF.111111111112 Wetness 0',
'raw_value': 41.745,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),
@@ -3287,7 +3230,6 @@
'device_class': 'humidity',
'device_file': '/EF.111111111112/moisture/sensor.1',
'friendly_name': 'EF.111111111112 Wetness 1',
'raw_value': 42.541,
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': '%',
}),

View File

@@ -39,7 +39,6 @@
'attributes': ReadOnlyDict({
'device_file': '/05.111111111111/PIO',
'friendly_name': '05.111111111111 Programmed input-output',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.05_111111111111_programmed_input_output',
@@ -89,7 +88,6 @@
'attributes': ReadOnlyDict({
'device_file': '/12.111111111111/latch.A',
'friendly_name': '12.111111111111 Latch A',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.12_111111111111_latch_a',
@@ -139,7 +137,6 @@
'attributes': ReadOnlyDict({
'device_file': '/12.111111111111/latch.B',
'friendly_name': '12.111111111111 Latch B',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.12_111111111111_latch_b',
@@ -189,7 +186,6 @@
'attributes': ReadOnlyDict({
'device_file': '/12.111111111111/PIO.A',
'friendly_name': '12.111111111111 Programmed input-output A',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.12_111111111111_programmed_input_output_a',
@@ -239,7 +235,6 @@
'attributes': ReadOnlyDict({
'device_file': '/12.111111111111/PIO.B',
'friendly_name': '12.111111111111 Programmed input-output B',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.12_111111111111_programmed_input_output_b',
@@ -289,7 +284,6 @@
'attributes': ReadOnlyDict({
'device_file': '/26.111111111111/IAD',
'friendly_name': '26.111111111111 Current A/D control',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.26_111111111111_current_a_d_control',
@@ -339,7 +333,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/latch.0',
'friendly_name': '29.111111111111 Latch 0',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_latch_0',
@@ -389,7 +382,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/latch.1',
'friendly_name': '29.111111111111 Latch 1',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_latch_1',
@@ -439,7 +431,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/latch.2',
'friendly_name': '29.111111111111 Latch 2',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_latch_2',
@@ -489,7 +480,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/latch.3',
'friendly_name': '29.111111111111 Latch 3',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_latch_3',
@@ -539,7 +529,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/latch.4',
'friendly_name': '29.111111111111 Latch 4',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_latch_4',
@@ -589,7 +578,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/latch.5',
'friendly_name': '29.111111111111 Latch 5',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_latch_5',
@@ -639,7 +627,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/latch.6',
'friendly_name': '29.111111111111 Latch 6',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_latch_6',
@@ -689,7 +676,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/latch.7',
'friendly_name': '29.111111111111 Latch 7',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_latch_7',
@@ -739,7 +725,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/PIO.0',
'friendly_name': '29.111111111111 Programmed input-output 0',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_programmed_input_output_0',
@@ -789,7 +774,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/PIO.1',
'friendly_name': '29.111111111111 Programmed input-output 1',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_programmed_input_output_1',
@@ -839,7 +823,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/PIO.2',
'friendly_name': '29.111111111111 Programmed input-output 2',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_programmed_input_output_2',
@@ -889,7 +872,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/PIO.3',
'friendly_name': '29.111111111111 Programmed input-output 3',
'raw_value': None,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_programmed_input_output_3',
@@ -939,7 +921,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/PIO.4',
'friendly_name': '29.111111111111 Programmed input-output 4',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_programmed_input_output_4',
@@ -989,7 +970,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/PIO.5',
'friendly_name': '29.111111111111 Programmed input-output 5',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_programmed_input_output_5',
@@ -1039,7 +1019,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/PIO.6',
'friendly_name': '29.111111111111 Programmed input-output 6',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_programmed_input_output_6',
@@ -1089,7 +1068,6 @@
'attributes': ReadOnlyDict({
'device_file': '/29.111111111111/PIO.7',
'friendly_name': '29.111111111111 Programmed input-output 7',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.29_111111111111_programmed_input_output_7',
@@ -1139,7 +1117,6 @@
'attributes': ReadOnlyDict({
'device_file': '/3A.111111111111/PIO.A',
'friendly_name': '3A.111111111111 Programmed input-output A',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.3a_111111111111_programmed_input_output_a',
@@ -1189,7 +1166,6 @@
'attributes': ReadOnlyDict({
'device_file': '/3A.111111111111/PIO.B',
'friendly_name': '3A.111111111111 Programmed input-output B',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.3a_111111111111_programmed_input_output_b',
@@ -1239,7 +1215,6 @@
'attributes': ReadOnlyDict({
'device_file': '/A6.111111111111/IAD',
'friendly_name': 'A6.111111111111 Current A/D control',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.a6_111111111111_current_a_d_control',
@@ -1289,7 +1264,6 @@
'attributes': ReadOnlyDict({
'device_file': '/EF.111111111112/moisture/is_leaf.0',
'friendly_name': 'EF.111111111112 Leaf sensor 0',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.ef_111111111112_leaf_sensor_0',
@@ -1339,7 +1313,6 @@
'attributes': ReadOnlyDict({
'device_file': '/EF.111111111112/moisture/is_leaf.1',
'friendly_name': 'EF.111111111112 Leaf sensor 1',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.ef_111111111112_leaf_sensor_1',
@@ -1389,7 +1362,6 @@
'attributes': ReadOnlyDict({
'device_file': '/EF.111111111112/moisture/is_leaf.2',
'friendly_name': 'EF.111111111112 Leaf sensor 2',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.ef_111111111112_leaf_sensor_2',
@@ -1439,7 +1411,6 @@
'attributes': ReadOnlyDict({
'device_file': '/EF.111111111112/moisture/is_leaf.3',
'friendly_name': 'EF.111111111112 Leaf sensor 3',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.ef_111111111112_leaf_sensor_3',
@@ -1489,7 +1460,6 @@
'attributes': ReadOnlyDict({
'device_file': '/EF.111111111112/moisture/is_moisture.0',
'friendly_name': 'EF.111111111112 Moisture sensor 0',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.ef_111111111112_moisture_sensor_0',
@@ -1539,7 +1509,6 @@
'attributes': ReadOnlyDict({
'device_file': '/EF.111111111112/moisture/is_moisture.1',
'friendly_name': 'EF.111111111112 Moisture sensor 1',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.ef_111111111112_moisture_sensor_1',
@@ -1589,7 +1558,6 @@
'attributes': ReadOnlyDict({
'device_file': '/EF.111111111112/moisture/is_moisture.2',
'friendly_name': 'EF.111111111112 Moisture sensor 2',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.ef_111111111112_moisture_sensor_2',
@@ -1639,7 +1607,6 @@
'attributes': ReadOnlyDict({
'device_file': '/EF.111111111112/moisture/is_moisture.3',
'friendly_name': 'EF.111111111112 Moisture sensor 3',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.ef_111111111112_moisture_sensor_3',
@@ -1689,7 +1656,6 @@
'attributes': ReadOnlyDict({
'device_file': '/EF.111111111113/hub/branch.0',
'friendly_name': 'EF.111111111113 Hub branch 0',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.ef_111111111113_hub_branch_0',
@@ -1739,7 +1705,6 @@
'attributes': ReadOnlyDict({
'device_file': '/EF.111111111113/hub/branch.1',
'friendly_name': 'EF.111111111113 Hub branch 1',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.ef_111111111113_hub_branch_1',
@@ -1789,7 +1754,6 @@
'attributes': ReadOnlyDict({
'device_file': '/EF.111111111113/hub/branch.2',
'friendly_name': 'EF.111111111113 Hub branch 2',
'raw_value': 1.0,
}),
'context': <ANY>,
'entity_id': 'switch.ef_111111111113_hub_branch_2',
@@ -1839,7 +1803,6 @@
'attributes': ReadOnlyDict({
'device_file': '/EF.111111111113/hub/branch.3',
'friendly_name': 'EF.111111111113 Hub branch 3',
'raw_value': 0.0,
}),
'context': <ANY>,
'entity_id': 'switch.ef_111111111113_hub_branch_3',