1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-18 09:50:04 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Marc Mueller
a3cd1854f6 Update typing 12 () 2021-03-18 14:31:38 +01:00
Shay Levy
24db0ff956 Fix Shelly logbook exception when missing COAP () 2021-03-08 15:59:54 +01:00
CurrentThread
d5ee49cd4e Add support for Shelly SHBTN-2 device triggers () 2021-02-26 11:52:47 +01:00
Shay Levy
0875f654c8 Add support for Shelly battery operated devices ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-03 17:03:22 +01:00
Shay Levy
5bc4db5ef9 Fix exception when last Shelly device is removed () 2021-01-27 08:15:56 -05:00
Shay Levy
76537305e2 Add logbook and device trigger platforms to Shelly ()
* Add logbook and device trigger platforms to Shelly

Add `logbook` platform for describing “shelly.click” event
Add `device_trigger` platform for adding automation based on click events:

Example of logbook event:
Shelly 'single' click event for Test I3 channel 3 was fired.
(Test I3 is the name of the device)

Example of automation triggers:
First button triple clicked
First button long clicked and then single clicked
First button double clicked
First button long clicked
First button single clicked and then long clicked
First button single clicked
Second button triple clicked
..
Second button single clicked

* Fix codespell

* Remove pylint added for debug

* Add tests

* Rebase

* Fix Rebase & Apply PR review suggestions

Fix tests after rebasing
Use `INPUTS_EVENTS_DICT` for input triggers
Apply PR suggestions
2021-01-04 23:10:42 +01:00
Shay Levy
2498340e1f Fix Shelly uptime sensor ()
Fix sensor to include time zone
Report new value only if delta > 5 seconds
Modify REST sensors class to use callable attributes
2020-11-27 09:40:06 +01:00
Shay Levy
ebaf143cf6 Support for Shelly Input Events () 2020-11-25 15:29:01 +01:00
Shay Levy
982624b3ac Support for Shelly Binary Input Sensors ()
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-19 11:42:24 +01:00
Simone Chemelli
3dbfd2cb70 Add shelly installed firmware info () 2020-11-19 10:47:23 +01:00
Shay Levy
ad06b6b340 Revert "shelly_naming" rebase errors () 2020-11-12 15:22:51 +01:00
Simone Chemelli
d8b067ebf9 Add Shelly support for REST sensors () 2020-11-11 20:13:14 +01:00
Shay Levy
0ddf14a98a Cleanup and naming schema fixes for Shelly ()
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-11 09:05:08 +01:00
Simone Chemelli
05dc457955 Handle Shelly light domain for relay switches ( fw >=1.9 ) ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-05 18:38:53 +01:00