Skip to content

Commit

Permalink
Rimosso async_setup_platforms per adeguamento a HA 2023.3
Browse files Browse the repository at this point in the history
  • Loading branch information
virtualdj committed Mar 9, 2023
1 parent 722e97c commit a35eec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/pun_sensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async def async_setup_entry(hass: HomeAssistant, config: ConfigEntry) -> bool:
await coordinator.update_fascia()

# Crea i sensori con la configurazione specificata
hass.config_entries.async_setup_platforms(config, PLATFORMS)
await hass.config_entries.async_forward_entry_setups(config, PLATFORMS)

# Schedula l'aggiornamento via web 10 secondi dopo l'avvio
async_track_point_in_time(hass, coordinator.update_pun,
Expand Down
2 changes: 1 addition & 1 deletion custom_components/pun_sensor/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"config_flow": true,
"requirements": ["holidays", "bs4"],
"iot_class": "local_polling",
"version": "0.3.1"
"version": "0.3.2"
}

0 comments on commit a35eec5

Please sign in to comment.