New features:
- Added support for setting MQTT's keep alive #153 by @allenb2800
- Added support for the
state_class
property in theHASensor
#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 theHADevice
#182 - Added
getCurrentOption
method to theHASelect
device type #163 - Added support for publishing the
None
state in theHASelect
device type #146 - Added support for publishing the
None
state in theHASensor
device type #175 - Added support for the
expire_after
property in theHASensor
#171 - Added support for the
expire_after
property in theHABinarySensor
#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 theHAMqtt
class #202 - Added
getState
method to theHAMqtt
class - Added
onDisconnected
callback method to theHAMqtt
class - Added
onStateChanged
callback method to theHAMqtt
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.