Commit Graph

1320 Commits (35eed93443ed59085995b7dd811f9af09076b3b6)

Author SHA1 Message Date
sfam 35eed93443 add a requires_code property on alarm object 2015-09-19 17:32:37 +00:00
sfam fc946da5db Add MQTT alarm 2015-09-18 15:30:34 +00:00
Fabian Affolter b33714bca3 Fix default value for correction_factor (Thanks @luxus) 2015-09-18 16:41:35 +02:00
Fabian Affolter 722af9014d Update import style 2015-09-18 16:25:52 +02:00
Paulus Schoutsen 4371355be1 Better errors on time automation trigger 2015-09-17 23:12:55 -07:00
Paulus Schoutsen 7c549db2d6 Merge pull request #386 from SEJeff/quiet-logging
[RFC] Quiet logging
2015-09-17 08:48:00 -07:00
Paulus Schoutsen 3ed102cd88 Merge pull request #388 from stefan-jonasson/dev
[Bugfix] - Time trigger fired all the time when using the "from" param
2015-09-17 00:10:13 -07:00
Stefan Jonasson 90e2aefd23 flake8 fix 2015-09-17 08:55:17 +02:00
Stefan Jonasson 47af247d6a flake8 fix 2015-09-17 08:39:41 +02:00
Stefan Jonasson 1a00d4a095 pylint fix 2015-09-17 08:35:18 +02:00
Fabian Affolter ccecc0181d Remove blank line 2015-09-17 08:34:26 +02:00
Fabian Affolter e90dbad37e Update docstrings 2015-09-17 08:34:10 +02:00
Fabian Affolter 8ec0c36457 Fix return value 2015-09-17 08:29:50 +02:00
Stefan Jonasson e68cc83e64 return and output error if none of the 4 keys provided
only parse hour/minute/second if after is not available
2015-09-17 08:24:06 +02:00
Jeff Schroeder 550f31d4c3 Quiet down some of the logging in the sonos platform
This is due to the soco library logging very excessively and it using
requests to connect to each Sonos speaker every 10 seconds (by default).

This makes the logs much more pleasant to use for finding real issues.
2015-09-16 23:11:57 -05:00
Jeff Schroeder 7e42b35b62 Set logging of SQL queries to sqlite as debug log messages 2015-09-16 23:11:57 -05:00
Stefan Jonasson 9b96471182 Fixed after param 2015-09-16 22:46:21 +02:00
Paulus Schoutsen 3c3eadbef5 Update frontend with alarm ui 2015-09-16 08:59:42 -07:00
Paulus Schoutsen f375bc527a Merge pull request #358 from persandstrom/alarmui
Alarm Control Panel
2015-09-16 08:56:03 -07:00
Paulus Schoutsen 6de04d78ed Merge pull request #381 from heathbar/foscam-support
Foscam support
2015-09-15 23:37:33 -07:00
Paulus Schoutsen 86aea83f64 Device tracker improvements 2015-09-15 23:35:28 -07:00
Heath Paddock 98feb3cd93 Fixed pylint errors 2015-09-16 00:40:51 -05:00
Heath Paddock 3dcd18af9e Fixed flake8 errors 2015-09-16 00:09:16 -05:00
Heath Paddock 2fd7b98cab minor code cleanup 2015-09-15 23:45:12 -05:00
Heath Paddock 90e21791f6 Removed obsolete code 2015-09-15 23:39:03 -05:00
Heath Paddock 9678613a13 foscam: made 'port' configurable and added additional documentation 2015-09-15 23:32:55 -05:00
Heath Paddock 5de89316b2 Initial implementation of Foscam FI9821W support 2015-09-15 22:58:46 -05:00
Jon Maddox 61685ea13d tag on " AirTunes Speaker" instead 2015-09-15 21:40:39 -04:00
Jon Maddox 77b9a12687 Tags the name of the device to the end of the name
This helps the media player be more explicit about itself and what it
is. It also namespaces it self a little better in the system. Rather
than be `media_player.family_room` it is
`media_player.family_room_apple_tv`. This helps for cases when there’s
another actual media player like Kodi or Chromecast in there.
2015-09-15 21:07:49 -04:00
Paulus Schoutsen 08f2a67de4 Allow falsy values for media player attributes 2015-09-15 12:58:19 -07:00
Paulus Schoutsen 58c3b03b79 Merge pull request #377 from balloob/automation-improvements
Automation improvements
2015-09-15 12:46:13 -07:00
Paulus Schoutsen c18294ee76 Allow triggers to be used as condition 2015-09-15 08:56:06 -07:00
Paulus Schoutsen 0584c10ef9 Style fix 2015-09-15 00:11:24 -07:00
Paulus Schoutsen 1ec5178f66 Remove scheduler component 2015-09-15 00:05:20 -07:00
Paulus Schoutsen 2978e0dabe Add sun automation trigger 2015-09-15 00:02:54 -07:00
Paulus Schoutsen b1f17c2cd4 Merge pull request #356 from fabaff/command-sensor
Command sensor
2015-09-14 23:46:02 -07:00
Fabian Affolter 1a73c1b991 Fix pylint issue 2015-09-15 08:40:54 +02:00
Fabian Affolter 039c5cd847 Change import ordering 2015-09-15 08:40:38 +02:00
Paulus Schoutsen f17ef0327c Merge pull request #366 from fabaff/glances
Glances sensor
2015-09-14 23:24:20 -07:00
Fabian Affolter 56a151b196 Add return value 2015-09-15 08:21:58 +02:00
Paulus Schoutsen b2ad8db86b Add condition type to automation component 2015-09-14 22:51:28 -07:00
Paulus Schoutsen 20f021d05f Another style fix. Who comes up with this? 2015-09-14 22:14:15 -07:00
Paulus Schoutsen fc43135ddd Style fix 2015-09-14 22:12:51 -07:00
Paulus Schoutsen 68c1dd7cd4 Refactor automation configuration 2015-09-14 22:05:40 -07:00
Paulus Schoutsen fe2a9bb83e Fix numeric state if 2015-09-14 20:46:57 -07:00
Paulus Schoutsen 2f8591205f Merge pull request #375 from SEJeff/fix-asuswrt
Fix the asuswrt device tracker for dhcp leases with no hostname
2015-09-14 20:23:44 -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