Home Assistant Unofficial Reference
2024.12.1
models.py
Go to the documentation of this file.
1
"""Models for the mystrom integration."""
2
3
from
dataclasses
import
dataclass
4
from
typing
import
Any
5
6
from
pymystrom.bulb
import
MyStromBulb
7
from
pymystrom.switch
import
MyStromSwitch
8
9
10
@dataclass
11
class
MyStromData
:
12
"""Data class for mystrom device data."""
13
14
device: MyStromSwitch | MyStromBulb
15
info: dict[str, Any]
homeassistant.components.mystrom.models.MyStromData
Definition:
models.py:11
core
homeassistant
components
mystrom
models.py
Generated by
1.9.1