Paulus Schoutsen
a70f922a71
ps - add reload core config service ( #2350 )
2016-06-22 09:13:18 -07:00
Paulus Schoutsen
1d8554359c
Allow setting entity namespace ( #1887 )
2016-04-23 06:34:49 +02:00
Paulus Schoutsen
2e79e9d5bb
Correct celcius to celsius ( #1860 )
2016-04-19 20:30:44 -07:00
Fabian Affolter
9157bd38e8
Update docstrings
2016-03-25 20:35:38 +01:00
Fabian Affolter
0d9b8a0d06
Fix docstring
2016-03-09 23:49:54 +01:00
Fabian Affolter
4f536ac63d
Fix PEP257 issues
2016-03-07 23:39:52 +01:00
Paulus Schoutsen
967a751da1
Add entity_picture property
2016-02-23 22:41:24 -08:00
Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
de7a14074e
Merge pull request #1247 from balloob/feature/entity-assumed-state
...
Add assumed_state property to entity
2016-02-14 23:59:35 -08:00
Paulus Schoutsen
b29f2f6d6f
Remove usage of ATTR_FRIENDLY_NAME within components/platforms
2016-02-14 00:21:20 -08:00
Paulus Schoutsen
8bea5c06de
Add assumed_state property to entity
2016-02-13 23:42:11 -08:00
Paulus Schoutsen
06bd812b7b
Make state unknown if None returned
2016-02-12 08:58:07 -08:00
Paulus Schoutsen
f08b77dc4c
Clean up state_attributes vs device_state_attributes
2016-02-06 22:34:24 -08:00
MartinHjelmare
38c9f7a37a
Fix 'unavailable' entity
...
* Report friendly_name, icon and customized attributes for 'unavailable'
entities.
2016-02-01 02:16:56 +01:00
MartinHjelmare
455593017d
Add new 'available' property to entity.py
...
* Add 'available' property. Return True by default.
* Use new property in update_ha_state(). If available is False, set
state to 'unavailable', through constant.
* Add STATE_UNAVAILABLE constant 'unavailable' in const.py.
* Fix docstrings in entity.py and const.py, according to PEP257.
Ignore D203 and D105.
2016-01-31 23:58:19 +01:00
Paulus Schoutsen
90e17fc77f
Add tests for entity component
2016-01-31 01:01:23 -08:00
Paulus Schoutsen
53484e46a3
Move generate_entity_id to entity helpers
2016-01-23 23:00:46 -08:00
Paulus Schoutsen
bc19ef66bf
Move split_entity_id to helpers
2016-01-23 22:49:49 -08:00
Paulus Schoutsen
de08f0afaa
Load YAML config into an ordered dict
2016-01-23 22:41:01 -08:00
Ryan Kraus
027d97321f
Merge pull request #911 from rmkraus/service-toggle
...
Added toggle service
2016-01-17 21:11:35 -05:00
Paulus Schoutsen
a9c6f8c1d9
Enforce entity attribute types
2016-01-17 17:50:20 -08:00
Ryan Kraus
85aa4fdd2e
Revised entity toggle to use is_on
...
The toggle function in the Entity ABC was using state == STATE_ON to
determine whether the entity was on. This was revised to use the is_on
property instead.
2016-01-17 16:59:22 -05:00
Ryan Kraus
342a819fd4
Added toggle service
...
Added a toggle service to the homeassistant, light, switch, and
media_player domains.
2016-01-16 10:45:05 -05:00
Paulus Schoutsen
4d069323f4
Add icon support to entity
2015-11-03 00:20:48 -08:00
Paulus Schoutsen
f9b17ab026
Device tracker rewrite
2015-09-09 23:37:15 -07:00
Ryan Kraus
f5b98c86f0
Mostly PyLint and Flake8 updates.
...
Rewrote imports of exceptions to be from the exceptions module.
Made nmap scanner check for libnmap dependency without crashing.
Various flake8 and pylint updates.
2015-08-29 22:34:35 -04:00
Paulus Schoutsen
1b89a502c4
Extract core into own submodule
2015-08-16 20:44:46 -07:00
Ryan Kraus
45f2f07b6d
Used better method for overwritting attributes in entity.
2015-04-25 18:29:37 -04:00
Ryan Kraus
be3be0478b
Fixed bug in entity helper that ignored suggestions for hiding states.
2015-04-25 14:59:27 -04:00
Ryan Kraus
8255164eda
Rearranged visibility control and image control in the configuration file. Now a single generic clause can be used to customize any attribute.
2015-04-25 14:47:15 -04:00
Ryan Kraus
a95aad324f
Updated a comment in the entity class.
2015-04-25 01:29:42 -04:00
Ryan Kraus
f77b3dbd0a
Added decorate option to configuration file to allow a user to set custom images for different entities.
2015-04-25 00:39:35 -04:00
Paulus Schoutsen
b855f422ef
Tweak visibility config
2015-04-23 06:41:41 -07:00
Ryan Kraus
bd3b93f290
1) Added visibility documentation to the CONTRIBUTING.md documentation. 2) Pylint fixes to homeassistant/helpers/entity.py
2015-04-22 22:19:36 -04:00
Ryan Kraus
ff3dacedc0
Moved card visibility logic out of the Entity class and into a VisibilityABC. Then made the Group class inherit the VisibilityABC. No duplication of code now. This is definitely better.
2015-04-22 21:21:50 -04:00
Ryan Kraus
b20424261c
1) Performed many pylint and flake8 fixes to clean up isy994 integration and hidden entities addition. 2) Added necessary code to allow groups to also be hidden. 3) Made most of the weather data from the isy994 component be hidden by default.
2015-04-15 02:05:34 -04:00
Ryan Kraus
0334074a52
Quick fix to the comparison to validate if an entity is hidden.
2015-04-14 23:38:14 -04:00
Ryan Kraus
a3d6972268
1) Added basic back-end framework for supporting hidden entities. 2) Enabled hidden suggestions in the isy994 component entities.
2015-04-14 22:57:32 -04:00
Paulus Schoutsen
d3f0210b1a
Refactor helper.device to helper.entity
...
Introduces a minor backwards compatible change: device_component
function add_devices is renamed to add_entities.
2015-03-21 18:49:30 -07:00