Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Franck Nijhof
af80ca6795
Clean up superfluous integration setup - part 5 ( #49296 )
2021-04-16 09:22:56 -07:00
tkdrob
75e04f3a71
Clean up constants ( #46885 )
2021-02-22 15:28:08 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
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
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02: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