Skip to content

fix nanoleaf aurora lights min and max temperature#14571

Merged
balloob merged 2 commits intohome-assistant:devfrom
Oro:light-aurora-temperature-fix
May 21, 2018
Merged

fix nanoleaf aurora lights min and max temperature#14571
balloob merged 2 commits intohome-assistant:devfrom
Oro:light-aurora-temperature-fix

Conversation

@Oro
Copy link
Copy Markdown
Contributor

@Oro Oro commented May 21, 2018

Description:

Setting Nanoleaf Aurora light panels to min temperature did not work and the max temperature was not the actual max

Related issue (if applicable): none

Pull request in home-assistant.github.io with documentation (if applicable): none

Example entry for configuration.yaml (if applicable): none

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

CONFIG_FILE = '.nanoleaf_aurora.conf'

NANOLEAF_AURORA_MIN_MIRED = 154
NANOLEAF_AURORA_MAX_MIRED = 833
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The name of the const is a bit verbose and is used only once. In my opinion you could put the values direct to the methods.

@balloob balloob added this to the 0.70.0 milestone May 21, 2018
@balloob balloob merged commit 6e941af into home-assistant:dev May 21, 2018
balloob pushed a commit that referenced this pull request May 21, 2018
* fixed nanoleaf aurora lights min and max temperature

* review changes
@Oro Oro deleted the light-aurora-temperature-fix branch May 21, 2018 15:19
@balloob balloob mentioned this pull request May 28, 2018
girlpunk pushed a commit to girlpunk/home-assistant that referenced this pull request Sep 4, 2018
)

* fixed nanoleaf aurora lights min and max temperature

* review changes
@home-assistant home-assistant locked and limited conversation to collaborators Sep 5, 2018
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.

4 participants