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

Updated Code: Temperature, Humidity, On-Demand Status Update #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Updated Code: Temperature, Humidity, On-Demand Status Update #4

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 24, 2013

  • Renamed temperature to target_temperature and current_temperature to temperature due to confusion. Both will work for changing the target temperature.
  • Added target_humidity for read and write.
  • Added update_status to retrieve the latest data from the server, saving it into self.status_json.
  • Modified status to call update_status if self.status_json is not populated yet (which should not happen).
  • Modified temperature= and humidity= to call update_status once the change is saved.
  • Increased version to 0.0.5.

…o temperature due to confusion. Both will work for changing the target temperature.

* Added target_humidity for read and write.
* Added update_status to retrieve the latest data from the server, saving it into self.status_json.
* Modified status to call update_status if self.status_json is not populated yet (which should not happen).
* Modified temperature= and humidity= to call update_status once the change is saved.
* Increased version to 0.0.5.
@ericboehs
Copy link
Owner

Looks like there's several changes here, I'll need to review this in more detail to verify it all works. Also I'll need to add tests.

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