developers.home-assistant/blog/2024-02-26-single-instance-only-manifest-option.md
Jan-Philipp Benecke 7921fa1787
Add new single_config_entry manifest option (#2074)
* Add new `single_instance_only` manifest option

* Add dev blog about manifest option

* change version

* Rename

* Apply code review suggestions
2024-02-26 22:50:47 +01:00

729 B

author authorURL authorImageURL title
Jan-Philipp Benecke https://github.com/jpbede https://avatars.githubusercontent.com/u/3989428?s=96&v=4 New single instance only manifest option

In Home Assistant 2024.3, we introduced a new single_config_entry option for the integration manifest file. This option allows you to set that your integration supports only one config entry.

Home Assistant will take care and prevent the initialization of a config flow if there is already a config entry for the integration. This way you won't have to implement any check in the config flow.

Integrations that have this option not set in their manifest and do the check in the config flow should replace it with the new option.