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.
New features:
state_class
property in theHASensor
#179configuration_url
property in theHADevice
#182getCurrentOption
method to theHASelect
device type #163None
state in theHASelect
device type #146None
state in theHASensor
device type #175expire_after
property in theHASensor
#171expire_after
property in theHABinarySensor
#159HASensor
object_id
property in all device typessetBufferSize
method to theHAMqtt
class #202getState
method to theHAMqtt
classonDisconnected
callback method to theHAMqtt
classonStateChanged
callback method to theHAMqtt
classFixes:
class 'HANumeric' is implicitly friends with itself
#197 by @shedokan