Marcio Granzotto Rodrigues
3fba4274f5
Add authentication support to Nightscout ( #40602 )
...
* Add API Key to the Nightscout integration config
* Add tests for nightscout config changes
* Apply suggestions from code review
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Update homeassistant/components/nightscout/__init__.py
* Run translations script to fix en.json
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-09-27 10:22:28 -05: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