Skip to content

Commit

Permalink
Merge branch 'release/1.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi committed Oct 26, 2024
2 parents 615bf17 + 26dc0a6 commit 5bebcc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/nextbike/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/syssi/nextbike/issues",
"requirements": [],
"version": "1.2.1"
"version": "1.2.2"
}
2 changes: 1 addition & 1 deletion custom_components/nextbike/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
if city_id not in hass.data[PLATFORM]:
city = NextbikeCity(hass, city_id)
hass.data[PLATFORM][city_id] = city
await hass.async_add_executor_job(city.async_refresh)
hass.async_create_task(city.async_refresh())
async_track_time_interval(hass, city.async_refresh, SCAN_INTERVAL)
else:
city = hass.data[PLATFORM][city_id]
Expand Down

0 comments on commit 5bebcc1

Please sign in to comment.