# { # "humidity_percent":45.0025, # "temp_c":23.00256, # "pressure_pa":98949.5, # "temp_f":72.1625, # "hi_f":71.19387, # "hi_c":21.77415, # "light_lvl_v":0.106452, # "batt_lvl_v":0 #} - platform: serial serial_port: /dev/ttyACM1 name: sparkfun_weather_station - platform: template sensors: sparkfun_weather_station_humidity_percent: entity_id: "sensor.sparkfun_weather_station" value_template: "{{ state_attr('sensor.sparkfun_weather_station', 'humidity_percent') }}" unit_of_measurement: "%" sparkfun_weather_station_temp_c: entity_id: "sensor.sparkfun_weather_station" value_template: "{{ state_attr('sensor.sparkfun_weather_station', 'temp_c') }}" unit_of_measurement: "C" sparkfun_weather_station_pressure_pa: entity_id: "sensor.sparkfun_weather_station" value_template: "{{ state_attr('sensor.sparkfun_weather_station', 'pressure_pa') }}" unit_of_measurement: "Pa" sparkfun_weather_station_temp_f: entity_id: "sensor.sparkfun_weather_station" value_template: "{{ state_attr('sensor.sparkfun_weather_station', 'temp_f') }}" unit_of_measurement: "F" sparkfun_weather_station_hi_f: entity_id: "sensor.sparkfun_weather_station" value_template: "{{ state_attr('sensor.sparkfun_weather_station', 'hi_f') }}" unit_of_measurement: "F" sparkfun_weather_station_hi_c: entity_id: "sensor.sparkfun_weather_station" value_template: "{{ state_attr('sensor.sparkfun_weather_station', 'hi_c') }}" unit_of_measurement: "C" sparkfun_weather_station_light_lvl_v: entity_id: "sensor.sparkfun_weather_station" value_template: "{{ state_attr('sensor.sparkfun_weather_station', 'light_lvl_v') }}" unit_of_measurement: "V" sparkfun_weather_station_batt_lvl_v: entity_id: "sensor.sparkfun_weather_station" value_template: "{{ state_attr('sensor.sparkfun_weather_station', 'batt_lvl_v') }}" unit_of_measurement: "V"