diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..6aeeaf9e5 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,28 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## [1.0.0] + +### Added + +- Added configuration flow +- Added support for controlling the tilt position of supported covers +- Added support for Somfy devices using the Pergola uiclass. +- Added unique id per entity, making it configurable via the front-end. +- Added support for Humidity sensors +- Added support for Light (DimmableLight) devices + +### Changed + +- Changed MotionSensor platform from sensor to binary_sensor +- Changed SmokeSensor platform from sensor to binary_sensor +- Changed ContactSensor platform from sensor to binary_sensor +- Changed GarageDoor platform from switch to cover +- Changed Light (OnOffLight) platform from switch to light +- Changed cover implementation to rely on available states and commands, instead of a hardcoded device list +- Add shared device attributes and states to TahomaDevice \ No newline at end of file diff --git a/README.md b/README.md index 401c8f7b6..771330913 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ +![](https://raw.githubusercontent.com/iMicknl/ha-tahoma/master/media/tahoma_device_page.png) + # Somfy Tahoma - Home Assistant (work in progress) > The Tahoma integration platform is used as an interface to the tahomalink.com website. It adds covers, scenes and a sun sensor from the Tahoma platform. -This component is an updated version of the [original Tahoma integration](https://www.home-assistant.io/integrations/tahoma/) in Home Assistant and the goal is to get those changes merged in core. The installation of this component will replace the original Tahoma integration and thus allows you to beta-test the new changes. +This component is an updated version of the [original Tahoma integration](https://www.home-assistant.io/integrations/tahoma/) in Home Assistant and the goal is to get those changes merged in core. The installation of this component will replace the original Tahoma integration and thus allows you to beta-test [all changes](./CHANGELOG.md). ## Installation @@ -41,6 +43,7 @@ If your device is not supported, it will show the following message in the loggi | SmokeSensor | binary_sensor | | MotionSensor | binary_sensor | | Light | light | +| Awning | cover | ## Not supported (yet) @@ -49,3 +52,4 @@ If your device is not supported, it will show the following message in the loggi | RemoteController | | Alarm | | HeatingSystem | + diff --git a/custom_components/tahoma/const.py b/custom_components/tahoma/const.py index 3253f9985..964a3bf4e 100644 --- a/custom_components/tahoma/const.py +++ b/custom_components/tahoma/const.py @@ -35,16 +35,18 @@ "ContactSensor": "binary_sensor", "SmokeSensor": "binary_sensor", "MotionSensor": "binary_sensor", - "ExteriorVenetianBlind": "cover" + "ExteriorVenetianBlind": "cover", + "Awning": "cover" } TAHOMA_COVER_DEVICE_CLASSES = { + "Awning": DEVICE_CLASS_AWNING, "ExteriorScreen": DEVICE_CLASS_BLIND, "Pergola": DEVICE_CLASS_AWNING, "RollerShutter": DEVICE_CLASS_SHUTTER, "Window": DEVICE_CLASS_WINDOW, + "Blind": DEVICE_CLASS_BLIND, "GarageDoor": DEVICE_CLASS_GARAGE, - "HorizontalAwning": DEVICE_CLASS_AWNING, "ExteriorVenetianBlind": DEVICE_CLASS_BLIND, "VeluxInteriorBlind": DEVICE_CLASS_BLIND } diff --git a/media/tahoma_device_page.png b/media/tahoma_device_page.png new file mode 100644 index 000000000..c394f0025 Binary files /dev/null and b/media/tahoma_device_page.png differ