|
大神看看什么问题,安装插件后,就卡在启动界面。删除插件后,一切又正常,求帮助
6月 08 17:43:07 mossbian hass[26336]: 2018-06-08 17:43:07 ERROR (MainThread) [homeassistant.components.websocket_api] Unable to serialize to JSON: Object of type 'bytes' is not JSON serializable
6月 08 17:43:07 mossbian hass[26336]: {'id': 2, 'type': 'event', 'event': {'event_type': 'state_changed', 'data': {'entity_id': 'climate.mi_acpartner', 'old_state': <state climate.mi_acpartner=Cool; current_temperature=None, min_temp=16, max_temp=30, temperature=25, target_temp_step=1, fan_mode=Auto, fan_list=['Low', 'Medium', 'High', 'Auto'], operation_mode=Cool, operation_list=['Heat', 'Cool', 'Auto', 'Dehumidify', 'Ventilate'], swing_mode=Off, swing_list=['On', 'Off', 'Unknown'], ac_model=b"\x01\x05\x00\x97\x00\x01\x07'\x01", load_power=11, fan_speed=Auto, led=True, unit_of_measurement=°C, friendly_name=mi_acpartner, supported_features=4801 @ 2018-06-09T01:30:51.168185+08:00>, 'new_state': <state climate.mi_acpartner=Cool; current_temperature=None, min_temp=16, max_temp=30, temperature=25, target_temp_step=1, fan_mode=Auto, fan_list=['Low', 'Medium', 'High', 'Auto'], operation_mode=Cool, operation_list=['Heat', 'Cool', 'Auto', 'Dehumidify', 'Ventilate'], swing_mode=Off, swing_list=['On', 'Off', 'Unknown'], ac_model=b"\x01\x05\x00\x97\x00\x01\x07'\x01", load_power=10, fan_speed=Auto, led=True, unit_of_measurement=°C, friendly_name=mi_acpartner, supported_features=4801 @ 2018-06-09T01:30:51.168185+08:00>}, 'origin': 'LOCAL', 'time_fired': datetime.datetime(2018, 6, 8, 17, 43, 7, 691138, tzinfo=<UTC>)}}
6月 08 17:43:30 mossbian hass[26336]: 2018-06-08 17:43:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sun.sun, old_state=<state sun.sun=below_horizon; next_dawn=2018-06-08T21:15:26+00:00, next_dusk=2018-06-09T11:36:53+00:00, next_midnight=2018-06-09T16:26:24+00:00, next_noon=2018-06-09T04:26:09+00:00, next_rising=2018-06-08T21:40:36+00:00, next_setting=2018-06-09T11:11:43+00:00, elevation=-40.34, azimuth=23.24, friendly_name=Sun @ 2018-06-09T01:17:11.965523+08:00>, new_state=<state sun.sun=below_horizon; next_dawn=2018-06-08T21:15:26+00:00, next_dusk=2018-06-09T11:36:53+00:00, next_midnight=2018-06-09T16:26:24+00:00, next_noon=2018-06-09T04:26:09+00:00, next_rising=2018-06-08T21:40:36+00:00, next_setting=2018-06-09T11:11:43+00:00, elevation=-40.25, azimuth=23.52, friendly_name=Sun @ 2018-06-09T01:17:11.965523+08:00>>
6月 08 17:44:30 mossbian hass[26336]: 2018-06-08 17:44:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sun.sun, old_state=<state sun.sun=below_horizon; next_dawn=2018-06-08T21:15:26+00:00, next_dusk=2018-06-09T11:36:53+00:00, next_midnight=2018-06-09T16:26:24+00:00, next_noon=2018-06-09T04:26:09+00:00, next_rising=2018-06-08T21:40:36+00:00, next_setting=2018-06-09T11:11:43+00:00, elevation=-40.25, azimuth=23.52, friendly_name=Sun @ 2018-06-09T01:17:11.965523+08:00>, new_state=<state sun.sun=below_horizon; next_dawn=2018-06-08T21:15:26+00:00, next_dusk=2018-06-09T11:36:53+00:00, next_midnight=2018-06-09T16:26:24+00:00, next_noon=2018-06-09T04:26:09+00:00, next_rising=2018-06-08T21:40:36+00:00, next_setting=2018-06-09T11:11:43+00:00, elevation=-40.16, azimuth=23.8, friendly_name=Sun @ 2018-06-09T01:17:11.965523+08:00>>
|
|