Add strings for device automations to scaffold (#27556)

This commit is contained in:
Paulus Schoutsen 2019-10-12 14:09:06 -07:00 committed by GitHub
parent 9e121b785a
commit a82ff4f7a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View file

@ -38,6 +38,7 @@ that can occur in the state will cause the right service to be called.
f"""
Device trigger base has been added to the {info.domain} integration:
- {info.integration_dir / "device_trigger.py"}
- {info.integration_dir / "strings.json"} (translations)
- {info.tests_dir / "test_device_trigger.py"}
You will now need to update the code to make sure that relevant triggers
@ -50,6 +51,7 @@ are exposed.
f"""
Device condition base has been added to the {info.domain} integration:
- {info.integration_dir / "device_condition.py"}
- {info.integration_dir / "strings.json"} (translations)
- {info.tests_dir / "test_device_condition.py"}
You will now need to update the code to make sure that relevant condtions
@ -62,6 +64,7 @@ are exposed.
f"""
Device action base has been added to the {info.domain} integration:
- {info.integration_dir / "device_action.py"}
- {info.integration_dir / "strings.json"} (translations)
- {info.tests_dir / "test_device_action.py"}
You will now need to update the code to make sure that relevant services