This can typically be one of those batteryless wall switches. Currently only one type has been tested: Eltako FT55. Other devices will most likely not work without changing the Home Asisstant code.
To use your EnOcean device, you first have to set up your EnOcean hub and then add the following to your
# Example configuration.yaml entry binary_sensor: - platform: enocean id: [0x01,0x90,0x84,0x3C]
- id (Required): The ID of the device. This is the 4 bytes long number written on the dimmer.
- name (Optional): An identifier for the Ligh in the frontend.
- sensor_class (Optional): The type/class of the sensor to set the icon in the frontend.