diff --git a/README.md b/README.md index cac803a..53e6b33 100644 --- a/README.md +++ b/README.md @@ -18,17 +18,30 @@ Should be a very simple **server** implementation of what is required in Max's s Example Hue Light: ``` [HueLight] - - implementes [LightDevice] + - implementes [LightEntity] - uses [HueBridge] ``` Example with ZigBee2Mqtt Temperature and Matrix Clock Temperature: ``` [Z2mClimate] - - implements [ClimateDevice] + - implements [ClimateEntity] - uses [Z2mBridge] [MatrixClock] - - implements [ClimateDevice] + - implements [ClimateEntity] - uses no bridge, works on a per-device connection ``` + +### Device types + +G: Get +S: Set + +- Hue [GS] +- Brightness [GS] +- Saturation [GS] +- Temperature [G] +- Humidity [G] +- Message [S] +- Contact [G] diff --git a/src/mash/bridges/matrixclock.py b/src/mash/bridges/matrixclock.py deleted file mode 100644 index e69de29..0000000 diff --git a/src/mash/entities/matrixclock.py b/src/mash/entities/matrixclock.py new file mode 100644 index 0000000..8b73b7f --- /dev/null +++ b/src/mash/entities/matrixclock.py @@ -0,0 +1,8 @@ +from mash.entities.entity import Entity + + +class MatrixClockEntity(Entity): + def __init__(self, *, id: str, name: str, room: str, device_type: str, groups: list[str] = ...) -> None: + super().__init__(id=id, name=name, room=room, device_type=device_type, groups=groups) + +