Commit Graph

26 Commits (84c482441d5669de875598538d2a45af05a40778)

Author SHA1 Message Date
Matt Zimmerman da1d6d3821
Add service to reset SmartTub reminders (#51824)
* Add service to reset SmartTub reminders

* add test

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-27 20:59:11 +02:00
Matt Zimmerman fad7e43c4f
Add state attribute to SmartTub reminders for days remaining (#51825) 2021-06-27 18:39:40 +02:00
Matt Zimmerman ffb9ab21c1
Add binary sensor for smarttub errors (#49364) 2021-05-26 09:25:47 -07:00
Matt Zimmerman aa18ad2abf
Add service to snooze SmartTub reminders (#51012)
* Add service to snooze SmartTub reminders

* minimum is 10 days

* 0->10 in services.yaml as well

* Update homeassistant/components/smarttub/services.yaml

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/smarttub/services.yaml

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-05-25 18:37:00 +02:00
Matt Zimmerman 87438dd401
Add services to SmartTub for changing filtration settings (#46980)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-05-23 09:00:24 -05:00
Ville Skyttä 19d25cd901
Change config entry state to an enum (#49654)
* Change config entry state to an enum

* Allow but deprecate EntryState str equality comparison

* Test fixes

* Rename to ConfigEntryState

* Remove str comparability backcompat

* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Matt Zimmerman e6d94845dd
SmartTub: use get_full_status() (#49580) 2021-04-22 18:55:58 -10:00
Matt Zimmerman fec6ea3f76
SmartTub cleanup (#49579) 2021-04-22 18:54:55 -10:00
Matt Zimmerman 8c52dfa1c5
Implement reauth for smarttub (#47628)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-21 21:28:24 -10:00
Franck Nijhof 7264c95217
Clean up superfluous integration setup - part 6 (#49298) 2021-04-16 09:23:27 -07:00
Matt Zimmerman 5265aabf92
Clean up SmartTub reminders (#48033)
* remove "date" state attribute

* remove unused constant
2021-03-24 08:39:23 +01:00
Matt Zimmerman 73c6728e98
Add binary_sensor entities for SmartTub reminders (#47583) 2021-03-16 17:38:09 +01:00
Matt Zimmerman 7840db0598
Restore switch.turn_on and switch.turn_off functionality for SmartTub pumps (#47586)
Revert "Remove turn_on and turn_off from SmartTub pump switches (#47184)"

This reverts commit bab66a5cb9.
2021-03-10 01:26:54 +01:00
Matt Zimmerman 947f6ea51e
Parameterize SmartTub tests (#47189)
* Parameterize SmartTub tests

* parameterize light service calls

* remove stray print()

* add comment
2021-03-01 13:53:57 +01:00
Matt Zimmerman 277c3cb661
Cleanup SmartTub filtration cycles (#47192) 2021-02-28 13:53:57 -10:00
Matt Zimmerman bab66a5cb9
Remove turn_on and turn_off from SmartTub pump switches (#47184) 2021-02-28 13:48:30 -10:00
Matt Zimmerman 81d011efc5
Add binary sensor to SmartTub for online status (#46889) 2021-02-22 04:10:00 -10:00
Matt Zimmerman b2b476596b
Add UV sensor to SmartTub (#46888) 2021-02-21 20:25:01 -10:00
Matt Zimmerman 5cd022a683
Add light platform to SmartTub (#46886)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-21 20:09:21 -10:00
Matt Zimmerman 5d8390fd9b
Add support for SmartTub filtration cycles (#46868) 2021-02-21 19:36:50 -10:00
Matt Zimmerman a8be5be376
Add switch platform and pump entity to SmartTub (#46842) 2021-02-21 18:48:27 -10:00
Matt Zimmerman d32dbc4cdd
Add support for SmartTub heat modes (#46876) 2021-02-21 18:46:54 -10:00
Matt Zimmerman 12c4db076c
Add more sensors to SmartTub integration (#46839) 2021-02-21 17:40:23 -10:00
Matt Zimmerman 115fe26642
Add smarttub sensor platform and state sensor (#46775) 2021-02-20 12:25:02 -10:00
Matt Zimmerman da51e23514
Address late smarttub review (#46703)
* _config -> config

* remove unused string

* remove entity tests

* replace unit tests with integration tests using the core

* refactor polling to use asyncio.gather

* remove redundant component init

* remove gather in favor of simple loop

* use async_fire_time_changed instead of async_update_entity

* use hass.config_entries.async_setup instead of calling smarttub.async_setup_entry directly

* replace stray smarttub.async_setup_entry call

* async_unload_entry -> hass.config_entries.async_unload

* remove broken test
2021-02-19 01:18:02 +01:00
Matt Zimmerman 58499946ed
Add SmartTub integration (#37775)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-02-16 19:37:56 -10:00