hass-core/homeassistant/helpers
Dan Smith 3aa34deaa2 Add state_as_number() helper
This adds state_as_number(), a helper method that tries to interpret
state as a number, for cases we can predict. It's a generalization of
what is copy-and-paste-ed into multiple other places.
2016-02-12 00:41:32 +00:00
..
__init__.py Move generate_entity_id to entity helpers 2016-01-23 23:00:46 -08:00
entity.py Clean up state_attributes vs device_state_attributes 2016-02-06 22:34:24 -08:00
entity_component.py Support custom interval for platforms 2016-01-31 01:01:23 -08:00
event.py Dont wrap '/int' parameters with tuple 2016-01-26 21:38:07 +01:00
event_decorators.py Removed decorator callback 2016-01-25 00:14:16 -05:00
service.py Removed decorator callback 2016-01-25 00:14:16 -05:00
state.py Add state_as_number() helper 2016-02-12 00:41:32 +00:00
temperature.py Clean up the heat control thermostat 2015-10-22 22:04:37 -07:00