Skip to content

Add support to a different unit of measurement on Nightscout#1

Closed
marciogranzotto wants to merge 1 commit intomarciogranzotto:devfrom
mateusrevoredo:nightscout-mmol-support
Closed

Add support to a different unit of measurement on Nightscout#1
marciogranzotto wants to merge 1 commit intomarciogranzotto:devfrom
mateusrevoredo:nightscout-mmol-support

Conversation

@marciogranzotto
Copy link
Copy Markdown
Owner

No description provided.

marciogranzotto pushed a commit that referenced this pull request Mar 11, 2022
advise on use of an access token rather than API_SECRET
marciogranzotto pushed a commit that referenced this pull request May 2, 2022
* Proof of concept

* remove notify platform

* remove loose test

* Add rework from home-assistant#67912 (#1)

* Move notify serviceupdater to Mixins

* Move tag discovery handler to Mixins

* fix tests

* Add typing for async_load_platform_helper

* Add add entry unload support for notify platform

* Simplify discovery updates

* Remove not needed extra logic

* Cleanup inrelevant or duplicate code

* reuse update_device and move to mixins

* Remove notify platform

* revert changes to notify platform

* Rename update class

* unify tag entry setup

* Use shared code for device_trigger `update_device`

* PoC shared dispatcher for device_trigger

* Fix bugs

* Improve typing - remove async_update

* Unload config_entry and tests

* Release dispatcher after setup and deduplicate

* closures to methods, revert `in` to `=`, updates

* Re-add update support for tag platform

* Re-add update support for device-trigger platform

* Cleanup rediscovery code revert related changes

* Undo discovery code shift

* Update homeassistant/components/mqtt/mixins.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/device_trigger.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Update homeassistant/components/mqtt/mixins.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* revert doc string changes

* move conditions

* typing and check config_entry_id

* Update homeassistant/components/mqtt/mixins.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* cleanup not used attribute

* Remove entry_unload code and tests

* update  comment

* add second comment

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants