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

get/set/copy schedules for rooms/hotwater/smartplugs #129

Merged
merged 9 commits into from
Nov 5, 2020

Conversation

msp1974
Copy link
Collaborator

@msp1974 msp1974 commented Nov 5, 2020

No description provided.

@msp1974 msp1974 merged commit bfe5ede into asantaga:dev Nov 5, 2020
@lwis
Copy link

lwis commented Nov 30, 2020

@msp1974 Forgive my confusion, but which entity id should I use for hot water schedules?

@msp1974
Copy link
Collaborator Author

msp1974 commented Nov 30, 2020

@lwis if you're using the dev branch then use the wiser hot water sensor. If you are using from HACs then you will need to wait until this functionality is published. Angelo updated the wiser heating api on pypi over the weekend ... which is needed for the dev branch to function.

I should get to releasing this this week. Need to do some more testing and update the documentation.

KR
Mark

@lwis
Copy link

lwis commented Nov 30, 2020

@msp1974 thanks, I just tried to test it and got;

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 359, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 466, in async_device_update
    await task
  File "/config/custom_components/wiser/sensor.py", line 442, in async_update
    self.data.schedules[str(self.entity_id)] = self.data.wiserhub.getHotwater().get("ScheduleID")
AttributeError: 'list' object has no attribute 'get'

@msp1974
Copy link
Collaborator Author

msp1974 commented Dec 6, 2020

@lwis you will see update was published to HACs yesterday. Could you try for me and see how you get on.

@lwis
Copy link

lwis commented Dec 7, 2020

@msp1974 thanks, seems to be working fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants