Returns the value of attribute unit.
8 9 10
# File 'lib/mqtt/homie/property.rb', line 8 def unit @unit end