Joost Lekkerkerker
216a174cba
Move variables out of constructor in nightscout ( #99612 )
...
* Move variables out of constructor in nightscout
* Update homeassistant/components/nightscout/sensor.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-09-04 22:35:58 +02:00
epenet
bb3e0633a4
Add init return type to integrations ( #87523 )
...
Add type hints to integrations
2023-02-06 11:37:25 +01:00
epenet
024a4f39b0
Use attributes in nightscout ( #77825 )
2022-09-05 16:20:56 -04:00
epenet
edaf75321e
Remove integrations from mypy ignored modules (part 4) ( #64435 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-19 13:29:24 +01:00
Erik Montnemery
103e21c278
Move temperature conversions to sensor base class (5/8) ( #54475 )
2021-08-12 13:26:17 +02:00
Ruslan Sayfutdinov
0301706fc6
Define AddEntitiesCallback type ( #49812 )
2021-04-29 12:28:14 +02:00
Erik Montnemery
c900e3030b
Migrate integrations n-q to extend SensorEntity ( #48214 )
2021-03-22 19:46:46 +01:00
Marc Mueller
3d2b81a401
Update typing 11 ( #48072 )
2021-03-18 13:21:46 +01:00
Erik Montnemery
14a59d290a
Update integrations j-o to override extra_state_attributes() ( #47758 )
2021-03-11 20:11:25 +01:00
tkdrob
75e04f3a71
Clean up constants ( #46885 )
2021-02-22 15:28:08 +01:00
Marcio Granzotto Rodrigues
52a9921ed3
Nightscout PR fixes ( #38737 )
...
* Don't allow duplicate nightscout configs
* Fix nightscout translations
* Remove unnecessary should_poll method
* Remove SVG attribute, as it was duplicating the state
* Use aiohttp client session from HA
* Move validate_input outside the config class
* Use the entry unique_id on the sensor
* Move create entity logic
* Handle unexpected exception on Nightscout config
2020-08-13 07:46:07 -04:00
Marcio Granzotto Rodrigues
761067559d
Add Nightscout integration ( #38615 )
...
* Implement NightScout sensor integration
* Add tests for NightScout integration
* Fix Nightscout captalization
* Change quality scale for Nightscout
* Trigger actions
* Add missing tests
* Fix stale comments
* Fix Nightscout manufacturer
* Add entry type service
* Change host to URL on nightscout config flow
* Add ConfigEntryNotReady exception to nighscout init
* Remote platform_schema from nightscout sensor
* Update homeassistant/components/nightscout/config_flow.py
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-09 13:15:56 -05:00