mirror of
https://github.com/home-assistant/core.git
synced 2026-09-24 23:41:48 -05:00
Bump pyprobeplus to 2.1.0 (#180921)
This commit is contained in:
@@ -15,5 +15,5 @@
|
||||
"integration_type": "device",
|
||||
"iot_class": "local_push",
|
||||
"quality_scale": "bronze",
|
||||
"requirements": ["pyprobeplus==1.1.2"]
|
||||
"requirements": ["pyprobeplus==2.1.0"]
|
||||
}
|
||||
|
||||
@@ -39,14 +39,14 @@ SENSOR_DESCRIPTIONS: tuple[ProbePlusSensorEntityDescription, ...] = (
|
||||
key="probe_temperature",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||
value_fn=lambda device: device.device_state.probe_temperature,
|
||||
value_fn=lambda device: device.device_state.probe.temperature,
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
),
|
||||
ProbePlusSensorEntityDescription(
|
||||
key="probe_battery",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
native_unit_of_measurement=PERCENTAGE,
|
||||
value_fn=lambda device: device.device_state.probe_battery,
|
||||
value_fn=lambda device: device.device_state.probe.battery,
|
||||
device_class=SensorDeviceClass.BATTERY,
|
||||
),
|
||||
ProbePlusSensorEntityDescription(
|
||||
@@ -62,7 +62,7 @@ SENSOR_DESCRIPTIONS: tuple[ProbePlusSensorEntityDescription, ...] = (
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
value_fn=lambda device: device.device_state.probe_rssi,
|
||||
value_fn=lambda device: device.device_state.probe.rssi,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
ProbePlusSensorEntityDescription(
|
||||
@@ -80,7 +80,7 @@ SENSOR_DESCRIPTIONS: tuple[ProbePlusSensorEntityDescription, ...] = (
|
||||
native_unit_of_measurement=UnitOfElectricPotential.VOLT,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
device_class=SensorDeviceClass.VOLTAGE,
|
||||
value_fn=lambda device: device.device_state.probe_voltage,
|
||||
value_fn=lambda device: device.device_state.probe.voltage,
|
||||
entity_registry_enabled_default=False,
|
||||
),
|
||||
)
|
||||
|
||||
Generated
+1
-1
@@ -2528,7 +2528,7 @@ pypoint==3.0.0
|
||||
pyportainer==1.0.45
|
||||
|
||||
# homeassistant.components.probe_plus
|
||||
pyprobeplus==1.1.2
|
||||
pyprobeplus==2.1.0
|
||||
|
||||
# homeassistant.components.profiler
|
||||
pyprof2calltree==1.4.5
|
||||
|
||||
Reference in New Issue
Block a user