Bump pyprobeplus to 2.1.0 (#180921)

This commit is contained in:
Jordan Harvey
2026-08-31 17:16:45 +02:00
committed by GitHub
parent 2aae837a66
commit 5f1a7f4735
3 changed files with 6 additions and 6 deletions
@@ -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,
),
)
+1 -1
View File
@@ -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