Commit graph

80986 commits

Author SHA1 Message Date
Paulus Schoutsen
65c3184856 Merge pull request #373 from SEJeff/fix-sensor-entity-names
Make the entity names for systemmonitor sensors a bit nicer
2015-09-14 20:17:01 -07:00
Jeff Schroeder
0afb6114c5 Make the entity names for systemmonitor sensors a bit nicer
This prevents them from having trailing whitespace, which makes them
end with `_`.
2015-09-14 21:20:41 -05:00
Jeff Schroeder
7c7b6ca05c Fix the asuswrt device tracker for dhcp leases with no hostname
Sometimes, hosts request dhcp leases without sending the hostname
they want to the dhcp server. This results in the entity_id being
`device_tracker.` as the dev_id is empty and things go downhill
from there.

The dhcp lease file looks like:
    admin@RT-AC66R:/tmp/home/root# cat /var/lib/misc/dnsmasq.leases
    86400 5c:c5:d4:79:4c:ad 192.168.1.226 chit-jsl3 *
    85242 8c:77:12:ad:d9:23 192.168.1.126 android-2c94abebaab16255 01:8c:77:12:ad:d9:23
    61985 b8:e9:37:73:47:f0 192.168.1.204 * 01:b8:e9:37:73:47:f0
    61982 b8:e9:37:ec:0d:7e 192.168.1.132 * 01:b8:e9:37:ec:0d:7e
    84584 00:20:6b:ca:31:c1 192.168.1.182 MC4650-CA31C1 01:00:20:6b:ca:31:c1
    86306 fc:e9:98:d6:4b:90 192.168.1.173 iLol 01:fc:e9:98:d6:4b:90
    74343 20:3a:07:f3:7e:ae 192.168.1.246 gatekeeper 01:20:3a:07:f3:7e:ae
    72374 b8:e9:37:5f:3d:06 192.168.1.34 SonosZP 01:b8:e9:37:5f:3d:06
    64697 00:0e:58:6f:59:d2 192.168.1.171 SonosZB 01:00:0e:58:6f:59:d2

Confirmed working on an Asus RT-AC66R with fw version: 3.0.0.4.376_3861
2015-09-14 20:33:14 -05:00
Paulus Schoutsen
2fe8b154f1 Fix state automation configuration 2015-09-14 18:22:49 -07:00
Paulus Schoutsen
bf64956265 Merge pull request #368 from stefan-jonasson/dev
Implemented the if condition support in numeric state
2015-09-14 17:57:34 -07:00
Paulus Schoutsen
eb11486e76 Merge pull request #370 from balloob/airplay-speakers
Add AirPlay Speakers as media_players
2015-09-14 16:22:09 -07:00
Jon Maddox
e8c3eaab33 style tweaks 2015-09-14 17:39:43 -04:00
Jon Maddox
fcbeddeb57 describe airplay part 2015-09-14 17:34:57 -04:00
Jon Maddox
50b23e1969 adds airplay speakers as media_players 2015-09-14 17:27:00 -04:00
Fabian Affolter
984f01359c Fix docstring 2015-09-14 21:48:29 +02:00
Stefan Jonasson
d5198d4242 Implemented the if condition support in numeric state 2015-09-14 20:33:01 +02:00
Per Sandström
f5d1da1d53 and pylint... 2015-09-14 19:42:36 +02:00
Per Sandström
13ca42e187 fixes from review 2015-09-14 17:33:43 +02:00
Fabian Affolter
74eb577c58 Add glances sensor 2015-09-14 14:09:24 +02:00
Fabian Affolter
fe7134b897 Add glances sensor 2015-09-14 14:08:30 +02:00
Fabian Affolter
27845d3fc5 Allow decimal places to be set 2015-09-14 10:44:07 +02:00
Fabian Affolter
6606d2a73c Add command sensor 2015-09-14 10:07:27 +02:00
Fabian Affolter
6dc877d8de Add command sensor 2015-09-14 10:07:27 +02:00
Fabian Affolter
b0441aadc4 Add new checks and move var check to setup 2015-09-14 10:06:40 +02:00
Paulus Schoutsen
dd71e4fdd1 Record in logbook when automation triggered 2015-09-14 00:02:33 -07:00
Fabian Affolter
7e066e11ad Remove left-over 2015-09-14 08:55:20 +02:00
Paulus Schoutsen
13d40fe6ec Allow firing events in script 2015-09-13 23:54:48 -07:00
Paulus Schoutsen
7e75add144 Update nmap dependency 2015-09-13 23:35:12 -07:00
Paulus Schoutsen
2df26a0d1a Fix sensor.systemmonitor 2015-09-13 23:29:13 -07:00
Paulus Schoutsen
965730eb60 Allow setting name for command switch 2015-09-13 23:04:49 -07:00
Paulus Schoutsen
4c0ac6051f Merge pull request #364 from balloob/automation-if
Add if-condition to automation
2015-09-13 23:00:50 -07:00
Paulus Schoutsen
2a11d02fe4 Add if to automation 2015-09-13 22:27:27 -07:00
Paulus Schoutsen
046c5653cb Add latest version of polymer repo 2015-09-13 20:58:22 -07:00
Paulus Schoutsen
f86fcdcaf5 Merge pull request #363 from balloob/logbook-entry
Add custom entries to logbook
2015-09-13 20:52:09 -07:00
Paulus Schoutsen
835bc1c492 Fix style issue 2015-09-13 18:40:54 -07:00
Paulus Schoutsen
de5a2fee83 Add custom entries to logbook 2015-09-13 18:30:44 -07:00
Roy Hooper
209499e82b Reduce media player scan frequency to 10s 2015-09-13 20:54:20 -04:00
Roy Hooper
9b47241a46 switch to default polling cycle to solve multiple instance issue 2015-09-13 20:49:09 -04:00
Paulus Schoutsen
513f6e9c3c Merge pull request #353 from stefan-jonasson/dev
numeric_state automation platform
2015-09-13 17:13:06 -07:00
Paulus Schoutsen
9582eae48e Merge pull request #359 from rhooper/sonos-netdisco-fix
Prevent duplicate instances of sonos devices during netdisco
2015-09-13 13:56:10 -07:00
Roy Hooper
d4834ff408 Add hass property to Entity to prevent 'Attribute hass is None' error during self.update_ha_state 2015-09-13 16:53:31 -04:00
Roy Hooper
ce22f3c82d Implement unique_id to prevent duplicate devices 2015-09-13 16:53:31 -04:00
Fabian Affolter
246184507c Add rest sensor 2015-09-13 22:41:37 +02:00
Fabian Affolter
3f3b475d76 Add rest sensor 2015-09-13 22:41:16 +02:00
Fabian Affolter
40aa661340 Update docsstring 2015-09-13 22:27:28 +02:00
Per Sandström
6c3a78df30 fixed spelling 2015-09-13 21:07:16 +02:00
Per Sandström
964a1f9aef merge from dev 2015-09-13 21:00:51 +02:00
Stefan Jonasson
8360ab265c Not used to pylint and flake8 ... 2015-09-13 20:34:45 +02:00
Stefan Jonasson
e3dcb45879 Fixed pylint error 2015-09-13 20:27:11 +02:00
Per Sandström
683a80f5f4 tests pass 2015-09-13 20:21:02 +02:00
Stefan Jonasson
9904727cde homeassistant/components/automation/numeric_state.py:61:80: E501 line too long (80 > 79 characters)
The command "flake8 homeassistant" exited with 1.
2015-09-13 20:16:51 +02:00
Stefan Jonasson
e9da02d70c Fixed value error exception
Fixed unittest
2015-09-13 19:59:26 +02:00
Paulus Schoutsen
b0b88e606c Merge pull request #355 from SEJeff/minor-sonos-fix
Minor sonos fix
2015-09-13 10:17:05 -07:00
Jeff Schroeder
57a833f1a7 Fix a bug which causes the sonos component to occasionally pop
Had this happen when Sonos surround sound is playing from a TV. See this
for more details:

af9a5152fe/soco/core.py (L1060)
2015-09-13 12:13:35 -05:00
Paulus Schoutsen
e5e577108c Merge pull request #357 from balloob/sonos-discovery
Discover sonos devices
2015-09-13 08:16:09 -07:00