Commit graph

18 commits

Author SHA1 Message Date
Marc Mueller
539a469a8b
Update coordinator typing (5) [r-s] (#68465) 2022-03-21 15:24:05 +01:00
epenet
595e8a327c
Add sensor setup type hints [s] (#63310)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:06:08 +01:00
Ernst Klamer
e771421ed0
Move Solarlog state to entity description (#62093)
* Move value to const

* Move value to const

* remove cast

* Remove Statetype import

* Add in and output for callable

* fix mypy

* Add int to callable

* fix callable

* Only convert value

* Add datetime import

* Update homeassistant/components/solarlog/const.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-17 12:40:32 +01:00
Ernst Klamer
6e7de8f85d
Fix for failing Solarlog integration in HA 2021.12 (#61602) 2021-12-12 14:09:15 -08:00
Ernst Klamer
5315d7eb0a
Add device configuration URL to Solar-Log (#58954) 2021-11-02 11:27:19 -07:00
epenet
4be8d5ebde
Use DeviceInfo in solarlog (#58526)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-27 13:57:45 +02:00
Ernst Klamer
bd60a58765
Improvements to the solarlog integration (#55405) 2021-08-31 16:46:19 +02:00
Paulus Schoutsen
46d0523f98
Convert solarlog to coordinator (#55345) 2021-08-27 14:59:55 -07:00
Ernst Klamer
d3f17de072
Change Solarlog Watt-peak to Watt (#55110) 2021-08-24 10:55:40 +02:00
Ernst Klamer
4a57392881
Add state_class and device_class to Solarlog platform (#53946)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-23 22:11:20 +02:00
Erik Montnemery
e558b3463e
Move temperature conversions to sensor base class (6/8) (#54476)
* Move temperature conversions to entity base class (6/8)

* Fix tests
2021-08-12 17:40:55 +02:00
Erik Montnemery
64bc9a8196
Migrate integrations r-s to extend SensorEntity (#48215) 2021-03-22 19:54:14 +01:00
Ernst Klamer
14d1466400
Add device information to solarlog integration (#43680)
* Update sensor.py

* Changed as requested

Thanks, tested and works ok.

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

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-11-30 09:40:43 -06:00
Franck Nijhof
a0a44f12a7
Clean up Solar-log review comments (#43503) 2020-11-22 05:40:31 +01:00
Ernst Klamer
977ed942ba
Deprecate YAML config for Solar-log (#43484)
Per ADR-0010, this PR deprecates YAML configuration for Solar-log. Users who already use the Solar-log integration do not need to take action, as their configuration has already been imported into the UI.
2020-11-21 17:50:46 +01:00
Ernst Klamer
2e8506de80
Add unique_id to solarlog sensors (#39186)
* Add unique_id to solarlog

Add unique_id to solarlog sensors

* Resolve suggested changes

Resolve suggested changes

* Update homeassistant/components/solarlog/sensor.py

Ok, thanks for the explanation.

Co-authored-by: Chris Talkington <chris@talkingtontech.com>

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-23 12:58:43 -05:00
Bas Nijholt
127d84edd1 Sort imports according to PEP8 for solarlog (#29752) 2019-12-09 13:11:37 +01:00
Ernst Klamer
acc3646ef3 Add Solar-Log platform (#27036)
* Add Solar-Log sensor

* Codeowners update

* Update homeassistant/components/solarlog/manifest.json

Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>

* remove sunwatcher from gen_requirements_all.py

* remove sunwatcher from requirements_test_all.txt

* Remove scan_interval as configuration variable

I've set it to a fixed scan_interval of 1 minute. Removed the configuration option.

* Fix black format

* Config flow added (__init__.py)

* Config flow added (manifest.json)

* Config flow added (const.py)

* Config flow added (config_flow.py)

* Config flow added (strings.json)

* Config flow added (en.json translation)

* Config flow added (sensor.py rewritten)

* Config flow added (sensor.py)

* Config flow added (config_flows.py)

* resolve conflict config_flows.py

* Add tests

* add tests

* add tests

* Update .coverage to include all files for solarlog

* Fix await the unload

* Adjust icons, add http:// to default host

* Change icons

* Add http:// to host if not provided, fix await

* Add http:// to host if not provided, fix await

* Adjust tests for http:// added to host

* remove line

* Remove without http:// requirement

* Remove without http;// requirement
2019-10-22 23:31:43 -07:00