Skip to content

2.1.0

Latest
Compare
Choose a tag to compare
@dawidchyrzynski dawidchyrzynski released this 09 Feb 23:50
1d333ab

New features:

  • Added support for setting MQTT's keep alive #153 by @allenb2800
  • Added support for the state_class property in the HASensor #179
  • Implemented extended unique ID support for all device types. This allows you to prefix each device type's unique ID with the device ID, ensuring smooth deployment of identical code on multiple devices without encountering unique ID conflicts #212
  • Added support for the configuration_url property in the HADevice #182
  • Added getCurrentOption method to the HASelect device type #163
  • Added support for publishing the None state in the HASelect device type #146
  • Added support for publishing the None state in the HASensor device type #175
  • Added support for the expire_after property in the HASensor #171
  • Added support for the expire_after property in the HABinarySensor #159
  • Added support for the JSON attributes in the HASensor
  • Added support for the object_id property in all device types
  • Added setBufferSize method to the HAMqtt class #202
  • Added getState method to the HAMqtt class
  • Added onDisconnected callback method to the HAMqtt class
  • Added onStateChanged callback method to the HAMqtt class
  • Added support for Arduino Due #137

Fixes:

  • Fixed a bug with the maximum number of device types #190 by @martaisty
  • Fixed compiler warning: class 'HANumeric' is implicitly friends with itself #197 by @shedokan
  • The default limit for device types has been raised to 24 on processors other than ATMega328/ATMega168. The previous default limit of 6 led to confusion for many users.