Fix icons and strings in Balboa (#117618)
This commit is contained in:
parent
a29a0a36e5
commit
9cf8e49b01
5 changed files with 7 additions and 8 deletions
|
@ -54,7 +54,6 @@ async def async_setup_entry(
|
|||
class BalboaClimateEntity(BalboaEntity, ClimateEntity):
|
||||
"""Representation of a Balboa spa climate entity."""
|
||||
|
||||
_attr_icon = "mdi:hot-tub"
|
||||
_attr_hvac_modes = [HVACMode.HEAT, HVACMode.OFF]
|
||||
_attr_supported_features = (
|
||||
ClimateEntityFeature.TARGET_TEMPERATURE
|
||||
|
|
|
@ -20,6 +20,11 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"climate": {
|
||||
"balboa": {
|
||||
"default": "mdi:hot-tub"
|
||||
}
|
||||
},
|
||||
"fan": {
|
||||
"pump": {
|
||||
"default": "mdi:pump",
|
||||
|
|
|
@ -23,9 +23,6 @@ async def async_setup_entry(
|
|||
class BalboaTempRangeSelectEntity(BalboaEntity, SelectEntity):
|
||||
"""Representation of a Temperature Range select."""
|
||||
|
||||
_attr_icon = "mdi:thermometer-lines"
|
||||
_attr_name = "Temperature range"
|
||||
_attr_unique_id = "temperature_range"
|
||||
_attr_translation_key = "temperature_range"
|
||||
_attr_options = [
|
||||
LowHighRange.LOW.name.lower(),
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': 'mdi:hot-tub',
|
||||
'original_icon': None,
|
||||
'original_name': None,
|
||||
'platform': 'balboa',
|
||||
'previous_unique_id': None,
|
||||
|
@ -53,7 +53,6 @@
|
|||
<HVACMode.HEAT: 'heat'>,
|
||||
<HVACMode.OFF: 'off'>,
|
||||
]),
|
||||
'icon': 'mdi:hot-tub',
|
||||
'max_temp': 40.0,
|
||||
'min_temp': 10.0,
|
||||
'preset_mode': 'ready',
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': 'mdi:thermometer-lines',
|
||||
'original_icon': None,
|
||||
'original_name': 'Temperature range',
|
||||
'platform': 'balboa',
|
||||
'previous_unique_id': None,
|
||||
|
@ -41,7 +41,6 @@
|
|||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'FakeSpa Temperature range',
|
||||
'icon': 'mdi:thermometer-lines',
|
||||
'options': list([
|
||||
'low',
|
||||
'high',
|
||||
|
|
Loading…
Add table
Reference in a new issue