Skip to content

Conversation

Kirmas
Copy link
Contributor

@Kirmas Kirmas commented Sep 5, 2022

unit is optional string
fix choices type

fix choices type
@codecov-commenter
Copy link

codecov-commenter commented Sep 5, 2022

Codecov Report

Merging #1519 (dde7894) into master (207a053) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1519   +/-   ##
=======================================
  Coverage   82.15%   82.15%           
=======================================
  Files         145      145           
  Lines       14161    14161           
  Branches     3416     3416           
=======================================
  Hits        11634    11634           
  Misses       2302     2302           
  Partials      225      225           
Impacted Files Coverage Δ
miio/devicestatus.py 93.93% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Owner

@rytilahti rytilahti left a comment

Choose a reason for hiding this comment

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

Thanks! 👍

@rytilahti rytilahti changed the title Fixed unit type for setting. (Now this is optional because "select type" can be without it) Make unit optional for @setting, fix type hint for choices Sep 6, 2022
@rytilahti rytilahti merged commit d544083 into rytilahti:master Sep 6, 2022
@Kirmas Kirmas deleted the kirmas/devicestatus branch September 7, 2022 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants