Migrate File notify entity platform (#117215)

* Migrate File notify entity platform

* Do not load legacy notify service for new  config entries

* Follow up comment

* mypy

* Correct typing

* Only use the name when importing notify services

* Make sure a name is set on new entires
This commit is contained in:
Jan Bouwhuis 2024-05-13 11:22:13 +02:00 committed by GitHub
parent 0b47bfc823
commit 548eb35b79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 104 additions and 25 deletions

View file

@ -16,7 +16,6 @@ MOCK_CONFIG_NOTIFY = {
"platform": "notify",
"file_path": "some_file",
"timestamp": True,
"name": "File",
}
MOCK_CONFIG_SENSOR = {
"platform": "sensor",