Skip to content

Commit

Permalink
Bump renault-api to 0.2.4 (#120727)
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet authored and frenck committed Jun 28, 2024
1 parent 76780ca commit 0ae11b0
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/renault/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def is_on(self) -> bool | None:
key="hvac_status",
coordinator="hvac_status",
on_key="hvacStatus",
on_value=2,
on_value="on",
translation_key="hvac_status",
),
RenaultBinarySensorEntityDescription(
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/renault/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"iot_class": "cloud_polling",
"loggers": ["renault_api"],
"quality_scale": "platinum",
"requirements": ["renault-api==0.2.3"]
"requirements": ["renault-api==0.2.4"]
}
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2454,7 +2454,7 @@ refoss-ha==1.2.1
regenmaschine==2024.03.0

# homeassistant.components.renault
renault-api==0.2.3
renault-api==0.2.4

# homeassistant.components.renson
renson-endura-delta==1.7.1
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,7 @@ refoss-ha==1.2.1
regenmaschine==2024.03.0

# homeassistant.components.renault
renault-api==0.2.3
renault-api==0.2.4

# homeassistant.components.renson
renson-endura-delta==1.7.1
Expand Down
2 changes: 1 addition & 1 deletion tests/components/renault/fixtures/hvac_status.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"data": {
"type": "Car",
"id": "VF1AAAAA555777999",
"attributes": { "externalTemperature": 8.0, "hvacStatus": 1 }
"attributes": { "externalTemperature": 8.0, "hvacStatus": "off" }
}
}
2 changes: 1 addition & 1 deletion tests/components/renault/fixtures/hvac_status.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"id": "VF1AAAAA555777999",
"attributes": {
"socThreshold": 30.0,
"hvacStatus": 1,
"hvacStatus": "off",
"lastUpdateTime": "2020-12-03T00:00:00Z"
}
}
Expand Down
4 changes: 2 additions & 2 deletions tests/components/renault/snapshots/test_diagnostics.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}),
'hvac_status': dict({
'externalTemperature': 8.0,
'hvacStatus': 1,
'hvacStatus': 'off',
}),
'res_state': dict({
}),
Expand Down Expand Up @@ -227,7 +227,7 @@
}),
'hvac_status': dict({
'externalTemperature': 8.0,
'hvacStatus': 1,
'hvacStatus': 'off',
}),
'res_state': dict({
}),
Expand Down

0 comments on commit 0ae11b0

Please sign in to comment.