MCPcopy Create free account
hub / github.com/algirdasc/hass-eso / __init__

Method __init__

custom_components/eso/objects_parser.py:18–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 """Collect ``id -> label`` from the ``objects[]`` select on /consumption."""
17
18 def __init__(self) -> None:
19 super().__init__()
20 self.objects: dict[str, str] = {}
21 self._in_objects_select: bool = False
22 self._current_value: str | None = None
23 self._current_text: list[str] = []
24
25 def handle_starttag(self, tag: str, attrs: list) -> None:
26 attributes = dict(attrs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected