Skip to content

[TODO]: Cleanup models.py #3

@CoMPaTech

Description

@CoMPaTech

Todo

Follow-up from #1 merge, as per @bouwew comments


custom_components/plugwise_usb/models.py

  • L28-31 This part is no longer needed after the split.

Also below all plugwise_api=STICK, lines can be removed.


  • L35-36 Rewrite to class PlugwiseEntityDescription(EntityDescription):

Or remove this class and rename below classes to SensorEntityDescription, etc.

Maybe even better, move all descriptions (back) into the relevant files, as done in Core Plugwise

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions