1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-29 10:17:08 +00:00

24 Commits

Author SHA1 Message Date
Daniel Hjelseth Høyer
1990b5b608
Use new EntityCategory enum in Surepetcare () 2021-12-08 10:46:30 -10:00
Daniel Hjelseth Høyer
739ce9bc75
Use device class enum in Surepetcare () 2021-12-01 10:58:52 +01:00
Daniel Hjelseth Høyer
9c3aa8156d
Add category diagnostic to Surepetcare battery sensor () 2021-10-17 07:26:29 -10:00
Robert Hillis
488a636aec
Clean up unused loggers () 2021-10-14 10:03:38 -07:00
Ben
fe065b2de8
Add Sure Petcare Felaqua device ()
* add a SurePetcareSensor

* add the felaqua sensor

* add felaqua battery test

* fix felaqua product_id

* actually add a felaqua sensor 😅

* remove superclass
2021-10-09 01:33:41 -05:00
Daniel Hjelseth Høyer
a94514b00d
Add Surepetcare entity class () 2021-09-23 13:19:46 -07:00
Daniel Hjelseth Høyer
00f7548fa0
Surepetcare, strict typing ()
* Surepetcare, strict typing

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Surepetcare, strict typing

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-09-19 20:57:28 +02:00
Daniel Hjelseth Høyer
f9de8fb49a
Surepetcare config flow ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-13 09:57:06 -10:00
Daniel Hjelseth Høyer
aa39e582c3
Surepetcare, fix late review ()
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-09-10 16:49:42 +02:00
Daniel Hjelseth Høyer
c27ad3078a
Surepetcare, use DataUpdateCoordinator ()
* Surepetcare, use dataupdater

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Review comment

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Apply suggestions from code review

Co-authored-by: J. Nick Koston <nick@koston.org>

* style

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-10 08:37:00 +02:00
jan iversen
0ab99fc8bf
Activate mypy for surepetcare () 2021-08-24 11:21:57 +02:00
Erik Montnemery
94a264afaf
Move temperature conversions to entity base class (7/8) () 2021-08-11 18:57:50 +02:00
Daniel Hjelseth Høyer
a824313e9f
Clean up Surepetcare sensor ()
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-06-27 17:25:54 +02:00
Daniel Hjelseth Høyer
b45c8466b4
Surepetcare, Use entity class vars and some clean up () 2021-06-26 15:40:40 -07:00
Maciej Bieniek
f212049fc2
Add constructor return type in integrations O-S () 2021-05-20 15:58:17 +02:00
Ben
ebbcfb1bc7
Fix and upgrade surepetcare ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-27 20:58:52 +02:00
Erik Montnemery
64bc9a8196
Migrate integrations r-s to extend SensorEntity () 2021-03-22 19:54:14 +01:00
Marc Mueller
a3cd1854f6
Update typing 12 () 2021-03-18 14:31:38 +01:00
Erik Montnemery
14ff6d4d1f
Update integrations p-s to override extra_state_attributes() () 2021-03-11 21:23:20 +01:00
Will Hughes
a6e474c7c9
Update surepy to v0.4.0 ()
* Update surepy to v0.4.0

* Clarify pylint disable

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-02 03:52:33 +01:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant () 2020-09-05 21:09:14 +02:00
springstan
f1a0ca7cd3
Add and use percentage constant ()
* Add and use percentage constant

* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Ben
fb2e120563 Sure Petcare new features various improvements ()
* add typing

* 100% battery_level is enough

* human-friendly datetime

* better enum usage

* add online and learning mode attrs

* use max two decimals in attrs

* use legacy style debug logging

* remove str usage of enums

* add feeder

* add feeder and adapt to new surepy version

* use ProductID instead of ThingID

* various changes and improvements

* add connectivity sensors for all devices & proper support for multiple hubs

* remove "side effects"/exception catching in attribs

* correct unique ids, reorder classes

* move Flap class from binary_sensor to sensor and add a sensore base class

* comments cleanup, minor typing and logging fixes

* remove commented code

* remove commented code

* add typing

* 100% battery_level is enough

* human-friendly datetime

* better enum usage

* add online and learning mode attrs

* use max two decimals in attrs

* use legacy style debug logging

* remove str usage of enums

* add feeder

* add feeder and adapt to new surepy version

* use ProductID instead of ThingID

* various changes and improvements

* add connectivity sensors for all devices & proper support for multiple hubs

* remove "side effects"/exception catching in attribs

* correct unique ids, reorder classes

* move Flap class from binary_sensor to sensor and add a sensore base class

* comments cleanup, minor typing and logging fixes

* remove commented code

* remove commented code

* fix spelling in comment to make the CI happy (seriously?!)

* fix manifest file

* fix requirements_all.txt file

* add missing docstrings

* fix available property

* remove typing from self

* remove commented code

* remove is_on property from sensor

* jump to new surepy version

* remove useles init methods
2020-02-09 17:46:00 +01:00
Ben
1fffa210e1 Add surepetcare component ()
* add surepetcare

* cleanup

* remove unused imports and comments

* remove comment

* fix bug which prevented updating the sensors

* improve config validation

* fix voluptuous usage

* fix format & credential storage

* various fixes to hass-conform

* small format fixes

* change False to None

* still trying to be hass-conform

* remove unused class

* fix imports

* fix f-string

* add guard clause?!

* central data fetch

* do not pass in hass, will be provided automatically

* make the linters happy

* disable constant-test warning and add commas

* worksforme

* fix link in manifest

* remove icon

* bump surepy to 0.1.5

* worksforme

* small doc fixes

* add discovery_info guard

* result of another awesome review

* and again :)

* exclude surepetcare in .coveragerc
2020-01-06 09:00:01 -05:00