Skip to content
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.

Rewrite Plugin to Use StaticPlatformPlugin #3

Merged
merged 1 commit into from
Apr 8, 2021
Merged

Rewrite Plugin to Use StaticPlatformPlugin #3

merged 1 commit into from
Apr 8, 2021

Conversation

zackwag
Copy link
Contributor

@zackwag zackwag commented Apr 7, 2021

  • DynamicPlatformPlugin is for when you have a single entry point like
    a login and don't know how many accessories will be added.
  • With SmartDry we can rely on the user to provide info for each contact
    sensor.
  • Moving information out of the accessory and into the service class.
  • Creating a constant class to hold static data.
  • Update README.
  • Add "name" property to config.schema.json
  • Use the PlatformConfig class rather than manually reading the config
    file.

- DynamicPlatformPlugin is for when you have a single entry point like
  a login and don't know how many accessories will be added.
- With SmartDry we can rely on the user to provide info for each contact
  sensor.
- Moving information out of the accessory and into the service class.
- Creating a constant class to hold static data.
- Update README.
- Add "name" property to config.schema.json
- Use the PlatformConfig class rather than manually reading the config
  file.
@ablyler
Copy link
Owner

ablyler commented Apr 8, 2021

Wow, this looks great! Thanks @zackwag!

@ablyler ablyler merged commit bbe400c into ablyler:master Apr 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants