Skip to content

Commit af6b8e7

Browse files
committed
chore: Update async_setup_entry to use async_forward_entry_setups
1 parent dd969f3 commit af6b8e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/lunar_phase/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
4747
"moon_calc": moon,
4848
}
4949

50-
await hass.config_entries.async_forward_entry_setup(config_entry, "sensor")
50+
await hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS)
5151

5252
except Exception as err:
5353
_LOGGER.error("Error setting up Moon Phase: %s", err, exc_info=True)

0 commit comments

Comments
 (0)