Bump omnilogic dependency to 0.4.5 (#49526)
This commit is contained in:
parent
dc50524f32
commit
2a2e573987
4 changed files with 8 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
||||||
"name": "Hayward Omnilogic",
|
"name": "Hayward Omnilogic",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/omnilogic",
|
"documentation": "https://www.home-assistant.io/integrations/omnilogic",
|
||||||
"requirements": ["omnilogic==0.4.3"],
|
"requirements": ["omnilogic==0.4.5"],
|
||||||
"codeowners": ["@oliver84", "@djtimca", "@gentoosu"],
|
"codeowners": ["@oliver84", "@djtimca", "@gentoosu"],
|
||||||
"iot_class": "cloud_polling"
|
"iot_class": "cloud_polling"
|
||||||
}
|
}
|
||||||
|
|
|
@ -136,7 +136,11 @@ class OmniLogicPumpSpeedSensor(OmnilogicSensor):
|
||||||
def state(self):
|
def state(self):
|
||||||
"""Return the state for the pump speed sensor."""
|
"""Return the state for the pump speed sensor."""
|
||||||
|
|
||||||
pump_type = PUMP_TYPES[self.coordinator.data[self._item_id]["Filter-Type"]]
|
pump_type = PUMP_TYPES[
|
||||||
|
self.coordinator.data[self._item_id].get(
|
||||||
|
"Filter-Type", self.coordinator.data[self._item_id].get("Type", {})
|
||||||
|
)
|
||||||
|
]
|
||||||
pump_speed = self.coordinator.data[self._item_id][self._state_key]
|
pump_speed = self.coordinator.data[self._item_id][self._state_key]
|
||||||
|
|
||||||
if pump_type == "VARIABLE":
|
if pump_type == "VARIABLE":
|
||||||
|
|
|
@ -1040,7 +1040,7 @@ objgraph==3.4.1
|
||||||
oemthermostat==1.1.1
|
oemthermostat==1.1.1
|
||||||
|
|
||||||
# homeassistant.components.omnilogic
|
# homeassistant.components.omnilogic
|
||||||
omnilogic==0.4.3
|
omnilogic==0.4.5
|
||||||
|
|
||||||
# homeassistant.components.ondilo_ico
|
# homeassistant.components.ondilo_ico
|
||||||
ondilo==0.2.0
|
ondilo==0.2.0
|
||||||
|
|
|
@ -561,7 +561,7 @@ oauth2client==4.0.0
|
||||||
objgraph==3.4.1
|
objgraph==3.4.1
|
||||||
|
|
||||||
# homeassistant.components.omnilogic
|
# homeassistant.components.omnilogic
|
||||||
omnilogic==0.4.3
|
omnilogic==0.4.5
|
||||||
|
|
||||||
# homeassistant.components.ondilo_ico
|
# homeassistant.components.ondilo_ico
|
||||||
ondilo==0.2.0
|
ondilo==0.2.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue