Added battery command class support.
Update device last contact time from device data (usefull for instance when a binary sensor triggers a level update).