Skip to content

Binary sensor rfxtrx broken in 0.64.1 #12776

@basschipper

Description

@basschipper

Home Assistant release (hass --version): 0.64.1 (0.63.3 is working)

Python release (python3 --version): Comes with Docker

Component/platform: Binary_sensor/rfxtrx

Description of problem:
Binary sensors are gone after starting HA.

Expected:
They show up ;-)

Problem-relevant configuration.yaml entries and steps to reproduce:

binary_sensor:
  - platform: rfxtrx
    devices:
      0b110001008744e10a000070:
        name: Mailbox
        device_class: opening

Traceback (if applicable):

2018-02-28 11:24:30 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up platform rfxtrx
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 84, in async_setup
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 243, in result
    raise self._exception
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/binary_sensor/rfxtrx.py", line 58, in setup_platform
    if entity[CONF_DATA_BITS] is not None:
KeyError: 'data_bits'

Additional info:
Not sure yet but maybe something todo with: #12463

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions