Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion homeassistant/components/letpot/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"iot_class": "cloud_push",
"loggers": ["letpot"],
"quality_scale": "bronze",
"requirements": ["letpot==0.6.1"]
"requirements": ["letpot==0.6.2"]
}
1 change: 0 additions & 1 deletion homeassistant/components/modbus/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ async def async_added_to_hass(self) -> None:

async def _async_update(self) -> None:
"""Update the state of the sensor."""
self._cancel_call = None
raw_result = await self._hub.async_pb_call(
self._slave, self._address, self._count, self._input_type
)
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/number/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ class NumberDeviceClass(StrEnum):
"""Generic flow rate

Unit of measurement: UnitOfVolumeFlowRate
- SI / metric: `m³/h`, `L/min`, `mL/s`
- SI / metric: `m³/h`, `m³/min`, `m³/s`, `L/h`, `L/min`, `L/s`, `mL/s`
- USCS / imperial: `ft³/min`, `gal/min`
"""

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/sensor/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ class SensorDeviceClass(StrEnum):
"""Generic flow rate

Unit of measurement: UnitOfVolumeFlowRate
- SI / metric: `m³/h`, `L/min`, `mL/s`
- SI / metric: `m³/h`, `m³/min`, `m³/s`, `L/h`, `L/min`, `L/s`, `mL/s`
- USCS / imperial: `ft³/min`, `gal/min`
"""

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/togrill/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ def _handle_event(self, packet: Packet) -> None:
if packet.probe != self._probe_number:
return

self._trigger_event(slugify(message.name))
self._trigger_event(message.name.lower())
2 changes: 1 addition & 1 deletion homeassistant/components/togrill/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"iot_class": "local_push",
"loggers": ["togrill_bluetooth"],
"quality_scale": "bronze",
"requirements": ["togrill-bluetooth==0.7.0"]
"requirements": ["togrill-bluetooth==0.8.0"]
}
11 changes: 10 additions & 1 deletion homeassistant/components/togrill/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,16 @@
"state": {
"probe_acknowledge": "Alarm acknowledged",
"probe_alarm": "Alarm triggered",
"probe_disconnected": "Probe disconnected"
"probe_disconnected": "Probe disconnected",
"device_low_power": "Device has low battery",
"device_high_temp": "Device has too high temperature",
"probe_below_minimum": "Temperature too low",
"probe_above_maximum": "Temperature too high",
"ignition_failure": "Ignition failure",
"ambient_low_temp": "Ambient temperature too low",
"ambient_over_heat": "Ambient temperature too high",
"ambient_cool_down": "Ambient temperature cooldown",
"probe_timer_alarm": "Timer alarm"
}
}
}
Expand Down
1 change: 1 addition & 0 deletions homeassistant/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ class UnitOfVolumeFlowRate(StrEnum):
"""Volume flow rate units."""

CUBIC_METERS_PER_HOUR = "m³/h"
CUBIC_METERS_PER_MINUTE = "m³/min"
CUBIC_METERS_PER_SECOND = "m³/s"
CUBIC_FEET_PER_MINUTE = "ft³/min"
LITERS_PER_HOUR = "L/h"
Expand Down
2 changes: 2 additions & 0 deletions homeassistant/util/unit_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,7 @@ class VolumeFlowRateConverter(BaseUnitConverter):
# Units in terms of m³/h
_UNIT_CONVERSION: dict[str | None, float] = {
UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR: 1,
UnitOfVolumeFlowRate.CUBIC_METERS_PER_MINUTE: 1 / _HRS_TO_MINUTES,
UnitOfVolumeFlowRate.CUBIC_METERS_PER_SECOND: 1 / _HRS_TO_SECS,
UnitOfVolumeFlowRate.CUBIC_FEET_PER_MINUTE: 1
/ (_HRS_TO_MINUTES * _CUBIC_FOOT_TO_CUBIC_METER),
Expand All @@ -784,6 +785,7 @@ class VolumeFlowRateConverter(BaseUnitConverter):
VALID_UNITS = {
UnitOfVolumeFlowRate.CUBIC_FEET_PER_MINUTE,
UnitOfVolumeFlowRate.CUBIC_METERS_PER_HOUR,
UnitOfVolumeFlowRate.CUBIC_METERS_PER_MINUTE,
UnitOfVolumeFlowRate.CUBIC_METERS_PER_SECOND,
UnitOfVolumeFlowRate.LITERS_PER_HOUR,
UnitOfVolumeFlowRate.LITERS_PER_MINUTE,
Expand Down
4 changes: 2 additions & 2 deletions requirements_all.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions requirements_test_all.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading