hass-core/homeassistant/components/binary_sensor
Tom Harris 32166fd56a Upgrade insteonplm to 0.8.2 (required refactoring) (#12534)
* Merge from current dev

* Update for Sensor approach

* Update reference to state classes

* Reference stateKey correctly

* Reference stateKey

* Change deviceInfo to a dict

* Pass state to properties method

* Add state info to device_state_attributes

* Update entity name to include state name

* Update for on() off() vs light_on/off

* Flag newnames option

* Update configuration schema

* Update configuration schema

* Spell False correctly

* Rename state to statekey

* Rename statekey to stateKey

* Call new device with stateKey and newname

* Simplify use of newnames

* Add workdir to save devices

* Fix newnames config setup

* Propogate OnOffSensor to VariableSensor change

* Upgrade insteonplm version to 0.8.0

* Pass address rather than device object to platform

* Set inteon_plm data variable to PLM

* Consistant use of conn and plm

* Consistant use of conn and plm

* Proper reference to device and address

* Fixed platform setup issues

* Correct issue with missing _supported_features attr

* Properly reference self._state vs self.state

* Bump insteonplm version to 0.8.1

* Remove subplatform and map based on state name

* Correct refrence to State

* Correct reference to device.states

* Bump insteonplm to 0.8.2

* Fix format errors

* Fix format issues

* Fix trailing whitespace

* Correct format issues

* Fix format issues

* Fix format issues

* Fixed format issues

* Fixed format issues

* Move imports inside classes

* Simplify import of modules

* Correct reference to OnOffSwitch_OutletTop and bottom

* Remove unnessary references

* Fix format issues

* Code review adjustments

* Fix format issue

* Use new nameing format for groups that are not group 0x01

* Remove newname feature

* Fix binary_sensor type to default to None

* Fix device_class property to return the sensor type correctly.

* rename _device and _state to avoid conflicts with Entity

* Format long lines

* Pylint clean up

* Insteon_PLM

* lint cleanup

* Check device_override has address

* 3.4 lint clean up

* Changes per code review

* Change discovered from a list of dict to a dict

* Correct common_attributes usage

* Change discovered from a list of dict to a dict

* Add debugging message to confirm platform setup

* Debug messages

* Debug messages

* Debug async_added_to_hass

* Debug async_added_to_hass async_add_job

* Debug async_added_to_hass

* Debug devices not loading in hass

* Debug new entities not being added to hass

* Debug adding devices to hass

* Revert "3.4 lint clean up"

This reverts commit 0d8fb992b1.

* 3.4 lint clean up

* Revert "Debug adding devices to hass"

This reverts commit ec306773d4.

* Revert "Debug new entities not being added to hass"

This reverts commit 55fb724d06.

* Revert "Debug devices not loading in hass"

This reverts commit 07814b4f14.

* Revert "Debug async_added_to_hass"

This reverts commit 4963a255d8.

* Revert "Debug async_added_to_hass async_add_job"

This reverts commit 22cadff91f.

* Revert "Debug async_added_to_hass"

This reverts commit 12c5651fe4.

* Pylint clean up

* pylint cleanup

* Clean up naming

* Enhance config schema. Fix logging issue

* Reapply changes after squash
2018-02-25 20:13:39 +01:00
..
__init__.py Removing asyncio.coroutine syntax from some components (#12507) 2018-02-24 10:24:33 -08:00
abode.py Abode services, events, lights, cameras, automations, quick actions. (#9310) 2017-09-18 17:39:41 +02:00
ads.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
alarmdecoder.py AlarmDecoder remove icon function as BinarySensorDevice handles it correctly now (#11467) 2018-01-05 14:29:57 -08:00
android_ip_webcam.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
apcupsd.py Do not call update() in constructor (#8878) 2017-08-08 20:21:33 +02:00
arest.py Remove deprecated sensor_class config options (#8702) 2017-07-29 19:46:27 -04:00
august.py Support for August doorbell (#11124) 2018-02-18 09:24:51 +01:00
aurora.py Use constants for HTTP headers (#10313) 2017-11-04 12:04:05 -07:00
axis.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
bayesian.py Use constants and update docstrings 2017-10-24 09:12:01 +02:00
bbb_gpio.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
blink.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
bloomsky.py Update voluputous (#12463) 2018-02-17 10:29:14 +01:00
command_line.py Added possibilities to use template in the command_line sensor (#8505) 2017-08-10 18:52:52 +02:00
concord232.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
deconz.py Improve service by allowing to reference entity id instead of deconz id (#11862) 2018-02-13 16:23:03 -08:00
demo.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
digital_ocean.py Remove deprecated sensor_class config options (#8702) 2017-07-29 19:46:27 -04:00
ecobee.py Entity registry (#11979) 2018-01-30 10:39:39 +01:00
eight_sleep.py Update docstrings (#7405) 2017-05-02 22:47:20 +02:00
enocean.py Remove deprecated sensor_class config options (#8702) 2017-07-29 19:46:27 -04:00
envisalink.py Upgrade pylint to 1.8.2 (#12274) 2018-02-11 09:20:28 -08:00
ffmpeg_motion.py Spelling fixes (#12041) 2018-01-29 23:37:19 +01:00
ffmpeg_noise.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
flic.py Clean up entity component (#11691) 2018-01-22 22:54:41 -08:00
gc100.py Add gc100 platforms and component (#10159) 2017-10-30 08:40:14 +01:00
hikvision.py Update voluputous (#12463) 2018-02-17 10:29:14 +01:00
hive.py Spelling fixes (#11940) 2018-01-27 11:58:27 -08:00
homematic.py Upgrade HomeMatic, add devices (#10845) 2017-11-28 23:16:47 -08:00
ihc.py Update voluputous (#12463) 2018-02-17 10:29:14 +01:00
insteon_plm.py Upgrade insteonplm to 0.8.2 (required refactoring) (#12534) 2018-02-25 20:13:39 +01:00
iss.py Move 'show_on_map' to const (#9727) 2017-10-07 15:11:41 +02:00
isy994.py Spelling fixes (#12041) 2018-01-29 23:37:19 +01:00
knx.py Removing asyncio.coroutine syntax from some components (#12507) 2018-02-24 10:24:33 -08:00
linode.py Linode (#9936) 2017-10-27 16:19:47 +02:00
maxcube.py maxcube: Set MAX! Window Sensor's class to 'window' (#11799) 2018-01-22 12:32:27 +01:00
mercedesme.py Fix MercedesMe - add check for unsupported features (#12342) 2018-02-12 21:07:20 -08:00
modbus.py Modbus fixes to work with pymodbus 1.3.1 (#8365) 2017-07-06 22:30:23 -07:00
mqtt.py Force update support for mqtt binary sensor (#12092) 2018-02-08 12:28:12 +01:00
mychevy.py Add basic mychevy component (#11409) 2018-01-15 21:50:56 +01:00
mysensors.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
mystrom.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
nest.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
netatmo.py Update voluputous (#12463) 2018-02-17 10:29:14 +01:00
nx584.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
octoprint.py Update voluputous (#12463) 2018-02-17 10:29:14 +01:00
pilight.py Spelling fixes (#12041) 2018-01-29 23:37:19 +01:00
ping.py Remove deprecated sensor_class config options (#8702) 2017-07-29 19:46:27 -04:00
raincloud.py Spelling fixes (#11940) 2018-01-27 11:58:27 -08:00
random.py Add Random binary sensor (#10164) 2017-10-29 11:15:57 +01:00
raspihats.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
rest.py Mark REST binary_sensor unavailable if request fails (#11506) 2018-01-11 10:48:15 +01:00
rfxtrx.py Update voluputous (#12463) 2018-02-17 10:29:14 +01:00
ring.py Fixed update() method and removed ding feature from stickupcams/floodlight (#10428) 2017-11-09 01:01:20 +01:00
rpi_gpio.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
rpi_pfio.py Update voluputous (#12463) 2018-02-17 10:29:14 +01:00
satel_integra.py Added satel_integra alarm panel and binary sensor platform (#9336) 2017-09-18 17:42:31 +02:00
skybell.py Skybell (#9681) 2017-10-08 20:14:39 +02:00
sleepiq.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
spc.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
tapsaff.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
tcp.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
tellduslive.py Telldus Live: Device without methods is a binary sensor (#10106) 2017-10-26 15:54:49 +02:00
template.py Return of entity_id in template platforms (#12234) 2018-02-07 22:46:14 -08:00
tesla.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
threshold.py Properly handle thresholds of zero (#12175) 2018-02-06 10:32:56 -08:00
trend.py Upgrade numpy to 1.14.0 (#11542) 2018-01-09 15:30:00 +01:00
velbus.py Velbus (#8076) 2017-07-26 14:03:29 +02:00
vera.py Added Vera scenes (#10424) 2017-12-07 07:47:19 +01:00
verisure.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
volvooncall.py Remove deprecated sensor_class config options (#8702) 2017-07-29 19:46:27 -04:00
vultr.py Fixes for PEP257 (#11810) 2018-01-20 22:35:38 -08:00
wemo.py Entity registry (#11979) 2018-01-30 10:39:39 +01:00
wink.py Update python-wink version and multiple wink fixes/updates. (#11833) 2018-01-25 11:31:38 -05:00
workday.py Update voluputous (#12463) 2018-02-17 10:29:14 +01:00
xiaomi_aqara.py Checking Xiaomi Aqara devices unavailability states (#11631) 2018-01-23 10:22:43 +01:00
zha.py zha: Add support for XBee radios (#12205) 2018-02-06 10:46:28 -08:00
zigbee.py Update docstrings (#7361) 2017-04-29 22:04:49 -07:00
zwave.py Fix off_delay for zwave trigger sensors (#8864) 2017-08-06 18:31:32 +03:00