ArduinoHA allows to integrate an Arduino/ESP based device with Home Assistant using MQTT.
AGPL-3.0 License
Bot releases are hidden (Show)
Published by dawidchyrzynski 8 months ago
New features:
state_class
property in the HASensor
#179configuration_url
property in the HADevice
#182getCurrentOption
method to the HASelect
device type #163None
state in the HASelect
device type #146None
state in the HASensor
device type #175expire_after
property in the HASensor
#171expire_after
property in the HABinarySensor
#159HASensor
object_id
property in all device typessetBufferSize
method to the HAMqtt
class #202getState
method to the HAMqtt
classonDisconnected
callback method to the HAMqtt
classonStateChanged
callback method to the HAMqtt
classFixes:
class 'HANumeric' is implicitly friends with itself
#197 by @shedokanNew features:
icon
property in the HABinarySensor
(you can set the icon using HABinarySensor::setIcon("iconName")
)HABinarySensor
using HABinarySensor::setCurrentState
methodsetState
in HABinarySensor
using a second argument as follows HABinarySensor::setState(true, true)
device_class
property in the HACover
(you can set the class using HACover::setDeviceClass("className")
icon
property in the HACover
(you can set the icon using HACover::setIcon("iconName")
)HACover
callback functionoptimistic
property in the HACover
(you can change the mode using HACover::setOptimistic(true)
)setPosition
in HACover
using a second argument as follows HACover::setPosition(100, true)
device_class
property in the HASwitch
(you can set the class using HASwitch::setDeviceClass("className")
optimistic
property in the HASwitch
(you can change the mode using HASwitch::setOptimistic(true)
)force_update
property in the HASensor
(you can set the mode using HASensor::setForceUpdate(true)
)HAButton
device typeHADeviceTracker
device typeHACamera
device typeHALock
device typeHASelect
device typeHANumber
device typeHAScene
device typeHALight
device typeBugs fixes:
New examples:
Breaking changes:
HABinarySensor
class (removed deviceClass
and initialState
arguments)HABinarySensor::getState()
method to HABinarySensor::getCurrentState()
HATriggers
with HADeviceTrigger
- the new implementation is not backward compatible. Please check the updated example of the multi-state-button
.HADevice::isOnline()
method to HADevice::isAvailable()
HASwitch::onStateChanged
method to HASwitch::onCommand
.HAFan::onStateChanged
method to HAFan::onStateCommand
.HAFan::onSpeedChanged
method to HAFan::onSpeedCommand
.HASwitch
callback. Please check the led-switch
example.HASensor
logic. It's now divided into two different classes: HASensor
and HASensorNumber
.HAMqtt
argumentonConnectionFailed
callback from the HAMqtt
classHACover
is now available as configurable feature. It's disabled by default.HAHVAC
class to support more features of the MQTT discovery. Please check the update example.New features:
onMessage()
method to HAMqtt classsetName
method to HASensorsetName
method to HASwitchonBeforeStateChanged
callback to HASwitch - #31Updates:
uniqueID
field from name
in all devices types - #32Breaking changes:
New features:
onConnected()
method in the HAMqttonConnectionFailed()
method in the HAMqttUpdates: