Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Hue device info #16267

Merged
merged 3 commits into from
Aug 29, 2018
Merged

Add Hue device info #16267

merged 3 commits into from
Aug 29, 2018

Conversation

balloob
Copy link
Member

@balloob balloob commented Aug 29, 2018

Description:

Add Hue device info

Bridge entry

{
                "config_entries": [
                    "b37fbcb15ecc4abea09989b5529b9604"
                ],
                "connections": [
                    [
                        "mac",
                        "00:17:88:1c:c4:fd"
                    ]
                ],
                "id": "90e914207bb5438082711a63031b01fb",
                "identifiers": [
                    [
                        "hue",
                        "001788AAAAAAFD"
                    ]
                ],
                "manufacturer": "Signify",
                "model": "BSB001",
                "name": "Philips hue",
                "sw_version": "01041302"
            }

Light entries:

            {
                "config_entries": [
                    "b37fbcb15ecc4abea09989b5529b9604"
                ],
                "connections": [],
                "id": "60d4e8a0098a4bd58e7465964f133400",
                "identifiers": [
                    [
                        "hue",
                        "90:fd:9f:ff:fe:f7:AA-01"
                    ]
                ],
                "manufacturer": "IKEA of Sweden",
                "model": "TRADFRI bulb E27 CWS opal 600lm",
                "name": "Bolletje",
                "sw_version": "1.3.002"
            },
            {
                "config_entries": [
                    "b37fbcb15ecc4abea09989b5529b9604"
                ],
                "connections": [],
                "id": "1d0de4842c6d4c5ba3de3b7024b48f11",
                "identifiers": [
                    [
                        "hue",
                        "00:17:88:01:00:f5:AA-0b"
                    ]
                ],
                "manufacturer": "Philips",
                "model": "LWB004",
                "name": "Ballonetje",
                "sw_version": "5.38.2.19136"
            },

Copy link
Member

@Kane610 Kane610 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

# productname added in Hue Bridge API 1.24
# (published 03/05/2018)
'model': self.light.productname or self.light.modelid,
# Not yet exposed as properties in aiohue
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Created a PR so in the future we can replace this with property calls: home-assistant-libs/aiohue#10

@balloob balloob merged commit 867d17b into dev Aug 29, 2018
@balloob balloob deleted the dev-info-hue branch August 29, 2018 15:04
@ghost ghost removed the in progress label Aug 29, 2018
girlpunk pushed a commit to girlpunk/home-assistant that referenced this pull request Sep 4, 2018
* Add Hue device info

* Set with tuples

* Fix tests
@balloob balloob mentioned this pull request Sep 17, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Dec 10, 2018
@ghost ghost removed the platform: light.hue label Mar 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants