Skip to content

Commit

Permalink
resolve comment related findings to check if this resolves docstring …
Browse files Browse the repository at this point in the history
…reports
  • Loading branch information
sfstar committed Jan 29, 2025
1 parent 3dd7c3c commit aaa56a6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions custom_components/victron/base.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
This module defines entity descriptions for Victron components.
"""Module defines entity descriptions for Victron components.
Classes:
VictronBaseEntityDescription: Describes a base entity for Victron components.
Expand All @@ -10,13 +9,15 @@
slave (int): The slave identifier.
value_fn (Callable[[dict], StateType]): A function to extract the value from data.
Methods:
Methods:
lambda_func(): Returns a lambda function to extract data based on slave and key.
VictronWriteBaseEntityDescription:
Attributes:
address (int): The address for the writable entity.
"""

from collections.abc import Callable
from dataclasses import dataclass

Expand Down

0 comments on commit aaa56a6

Please sign in to comment.