Skip to content

Commit

Permalink
Bump pynecil to v1.0.1 (home-assistant#131935)
Browse files Browse the repository at this point in the history
  • Loading branch information
tr4nt0r authored Nov 29, 2024
1 parent c19038c commit dd62fb3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/iron_os/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"documentation": "https://www.home-assistant.io/integrations/iron_os",
"iot_class": "local_polling",
"loggers": ["pynecil", "aiogithubapi"],
"requirements": ["pynecil==0.2.1", "aiogithubapi==24.6.0"]
"requirements": ["pynecil==1.0.1", "aiogithubapi==24.6.0"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/iron_os/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class IronOSSensorEntityDescription(SensorEntityDescription):
IronOSSensorEntityDescription(
key=PinecilSensor.TIP_VOLTAGE,
translation_key=PinecilSensor.TIP_VOLTAGE,
native_unit_of_measurement=UnitOfElectricPotential.MILLIVOLT,
native_unit_of_measurement=UnitOfElectricPotential.MICROVOLT,
device_class=SensorDeviceClass.VOLTAGE,
state_class=SensorStateClass.MEASUREMENT,
suggested_display_precision=3,
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2090,7 +2090,7 @@ pymsteams==0.1.12
pymysensors==0.24.0

# homeassistant.components.iron_os
pynecil==0.2.1
pynecil==1.0.1

# homeassistant.components.netgear
pynetgear==0.10.10
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ pymonoprice==0.4
pymysensors==0.24.0

# homeassistant.components.iron_os
pynecil==0.2.1
pynecil==1.0.1

# homeassistant.components.netgear
pynetgear==0.10.10
Expand Down
4 changes: 2 additions & 2 deletions tests/components/iron_os/snapshots/test_sensor.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@
'supported_features': 0,
'translation_key': <PinecilSensor.TIP_VOLTAGE: 'tip_voltage'>,
'unique_id': 'c0:ff:ee:c0:ff:ee_tip_voltage',
'unit_of_measurement': <UnitOfElectricPotential.MILLIVOLT: 'mV'>,
'unit_of_measurement': <UnitOfElectricPotential.MICROVOLT: 'µV'>,
})
# ---
# name: test_sensors[sensor.pinecil_raw_tip_voltage-state]
Expand All @@ -522,7 +522,7 @@
'device_class': 'voltage',
'friendly_name': 'Pinecil Raw tip voltage',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfElectricPotential.MILLIVOLT: 'mV'>,
'unit_of_measurement': <UnitOfElectricPotential.MICROVOLT: 'µV'>,
}),
'context': <ANY>,
'entity_id': 'sensor.pinecil_raw_tip_voltage',
Expand Down

0 comments on commit dd62fb3

Please sign in to comment.