add median value calculation instead of arithmetic average for outside sensors
2021-10-14
removed state string "NEW" from /battery topic and added own topic /batteryNew, as Home Assistant MQTT binary sensor can only work with 2 states (unless using value templates)
2021-08-30
BUGFIX: check correct size of incoming data and prevent crash if invalid