/thermostat

Thermostat tool using a weather API

Primary LanguageJavaScript

Thermostat App

Used Jest to test-drive the development of a thermostat app.

User Stories:

User Story One

As a homeowner with a heating system,
I would like a thermostat that displays the temperature  
With a default set at 20 degrees

User Story Two

As a homeowner with a heating system,
I would like to be able to increase the temperature  
By selecting the up function

User Story Three

As a homeowner with a heating system  
I would like to be able to increase the temperature  
By selecting the down function

User Story Four

As a homeowner that appreciates the ambience in my front room  
I would like the temperature to have a minimum temperature  
This can be set to 10 degrees

User Story Five

As a homeowner concerned about rising energy prices  
I would like a power saving mode on by default
This should set the maximum temperature to 25 when on
and maximum temperature to 36 degrees when off

User Story Six

As a homeowner
So I can return my heating back to a default setting
I would like a reset function
It will return the temperature to 20 degrees

User Story Seven

As a homeowner
So I can keep an eye on my energy costs
I would like to be able to know my energy usage
< 18 is low usage, < 25 is medium usage, anything else is high usage.