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

Fix yeelight recorder warning #22756

Merged
merged 1 commit into from
Apr 5, 2019
Merged

Fix yeelight recorder warning #22756

merged 1 commit into from
Apr 5, 2019

Conversation

zewelor
Copy link
Contributor

@zewelor zewelor commented Apr 5, 2019

Description:

Fix for recorder warnings:

2019-04-05 08:33:08 WARNING (Recorder) [homeassistant.components.recorder] Event is not JSON serializable: <Event platform_discovered[L]: service=load_platform.light, platform=yeelight, discovered=name=Bedroom ceiling, model=ceiling2, transition=350, save_on_change=False, use_music_mode=False, host=192.168.1.136, custom_effects=Sunrise=count=1, action=Action.off, transitions=[<TemperatureTransition(1700K) duration 3000, brightness 10>, <TemperatureTransition(6500K) duration 3000, brightness 100>]> 

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.

@github-actions
Copy link

github-actions bot commented Apr 5, 2019

Hey there @rytilahti, @zewelor, mind taking a look at this pull request as its been labeled with a integration (yeelight) you are listed as a codeowner for? Thanks!

@zewelor zewelor mentioned this pull request Apr 5, 2019
@codecov
Copy link

codecov bot commented Apr 5, 2019

Codecov Report

Merging #22756 into dev will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev   #22756      +/-   ##
==========================================
+ Coverage   93.83%   93.83%   +<.01%     
==========================================
  Files         448      448              
  Lines       36523    36524       +1     
==========================================
+ Hits        34271    34272       +1     
  Misses       2252     2252
Impacted Files Coverage Δ
homeassistant/components/hassio/ingress.py 71.05% <0%> (-0.26%) ⬇️
homeassistant/components/stream/worker.py 93.68% <0%> (+0.06%) ⬆️
homeassistant/components/hassio/http.py 88.23% <0%> (+0.17%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 876b5fb...197f200. Read the comment docs.

@pvizeli pvizeli added this to the 0.91.1 milestone Apr 5, 2019
@pvizeli pvizeli merged commit 5e7fdb4 into home-assistant:dev Apr 5, 2019
@ghost ghost removed the in progress label Apr 5, 2019
pvizeli pushed a commit that referenced this pull request Apr 5, 2019
@zewelor zewelor deleted the fix_yeelight_recorder_warning branch April 5, 2019 12:29
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.

4 participants