Skip to content

Commit

Permalink
V2025.01.01
Browse files Browse the repository at this point in the history
- Update Italian translation file
- Correct issue where multiple programs cause the program to fail
  • Loading branch information
petergridge authored Jan 6, 2025
1 parent adb961f commit 70b50e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom_components/irrigationprogram/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ async def async_stop_programs(hass,ignore_program):
servicedata = {ATTR_ENTITY_ID: device}
#warn if the program is terminated
await asyncio.sleep(n)
if hass.states.get(device).is_on:
if hass.states.get(device).state == 'on':
async_create(
hass,
message=f"Irrigation Program {data.get(ATTR_NAME)} terminated by {ignore_program}",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/irrigationprogram/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/petergridge/irrigation-v5/issues",
"requirements": [],
"version": "V2024.12.01b4"
"version": "V2025.01.01"
}
4 changes: 2 additions & 2 deletions custom_components/irrigationprogram/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
}
},
"zone_next_run":{
"name":"Prossima zona da irrigare"
"name":"Prossima irrigazione"
},
"zone_last_ran":{
"name":"Ultima zona irrigata"
"name":"Ultima irrigazione"
},
"remaining_time":{
"name":"Tempo rimanente"
Expand Down

0 comments on commit 70b50e2

Please sign in to comment.