Commit graph

25 commits

Author SHA1 Message Date
Aidan Timson
d85d93d1a1
Downgrade OctoPrint printer disconnected errors ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-03 13:53:25 +01:00
Robert Hillis
e6956acb4b
Use enums in octoprint () 2021-12-16 17:07:50 +01:00
Franck Nijhof
1ecd9c9459
Use native datetime value in OctoPrint sensors () 2021-11-18 22:42:21 +01:00
Ryan Fleming
9c2bff3b3b
Use octoprint printer flag status to check if printer is printing () 2021-11-14 21:06:42 +01:00
Ryan Fleming
5e2d71dc90
Use unknown state for octoprint temperature sensors with None value ()
* Mark octoprint temperature sensors as unavaible when value is not supplied

* Check for none explictly

* Do not mark the entity as unavailable

* Swap to using er.get_async
2021-11-10 05:52:29 +01:00
Franck Nijhof
26b951194c
Add configuration_url to OctoPrint ()
* Add configuration_url to Octoprint

* fix device_info() return

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2021-10-31 08:00:31 +01:00
Marc Mueller
84618fa831
Use assignment expressions 30 () 2021-10-30 16:33:42 +02:00
Franck Nijhof
b3e7eeb020
Fix spelling of OctoPrint () 2021-10-29 13:21:57 +02:00
Marc Mueller
823ca7ee40
Use attributes octoprint () 2021-10-22 21:41:06 +02:00
Ryan Fleming
c84fee7c6e
Rework octoprint ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-22 15:25:12 +02:00
Chris
f8d0f76721
Add device class to temperature sensors for octoprint () 2021-10-15 09:45:04 -07:00
Erik Montnemery
103e21c278
Move temperature conversions to sensor base class (5/8) () 2021-08-12 13:26:17 +02:00
Franck Nijhof
3aed84560f
Merge of nested IF-IF cases - O-R () 2021-03-27 10:38:57 +01:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity () 2021-03-22 19:46:46 +01:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant () 2020-09-05 21:09:14 +02:00
danbishop
292dcb7e37
Update sensor.py ()
Add missing semi-colons to html entities on notification message
2020-04-08 13:07:43 -06:00
springstan
eae21be5b9
Improve string formatting v6 () 2020-04-07 23:14:28 +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
Franck Nijhof
0173c61fee
Spelling: Config(uration) () 2020-02-13 08:27:00 -08:00
Franck Nijhof
1c5e0123c9 Use literal string interpolation in integrations N-Q (f-strings) () 2019-09-03 11:35:00 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0 Remove dependencies and requirements ()
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2c.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ()
* Use relative imports inside integrations

* Lint

* Fix automation tests

* Fix scene imports
2019-03-20 22:56:46 -07:00
Fabian Affolter
161c368c9d Update file header ()
* Update file header

* Update __init__.py
2019-02-13 20:35:12 -08:00
Paulus Schoutsen
e2d3c27e85
Embed all platforms into components ()
* Consolidate all components with platforms

* Organize tests

* Fix more tests

* Fix Verisure tests

* one final test fix

* Add change

* Fix coverage
2019-02-02 07:13:16 -08:00
Renamed from homeassistant/components/sensor/octoprint.py (Browse further)