sensor_templates.yaml - all of the templated sensors for the shared, imperial and metric measurements. This goes in your sensors section; number it appropriately if you don’t use a separate sensors.yaml file and are adding it to your configuration.yaml
group_config.yaml - all of the named sensors in one group. Same rules as above.
customizations.yaml - all of the friendly names and icons. Same rules as above.
Enjoy - this is my way of giving back to the group. Let me know if you have any issues; my suggestion would be to back up ALL your YAML files before doing this and be very careful about editing! If you end up with a bunch of badge sensors on your front page, you probably missed a space or something. It happened to me more than once laying this all out.
awesome! any chance you could submit that to the original repo as a pull request? I probably won’t have a chance to update it until after this weekend (2 jobs and 2 kids leads little time for much else lately).
Line 33 of wunderground.py needed to be changed on Raspberry Pi to self._unit_of_measurement = TEMP_FAHRENHEIT from self._unit_of_measurement = “°F” because of ‘utf-8’ codec error. TEMP_FAHRENHEIT is defined in the homeassistant package in const.py and also needs to be added after line 7: from homeassistant.const import TEMP_FAHRENHEIT
For those newbies like me, I included the following in my configuration.yaml file:
At the end of the homeassistant: section, I added ’ customize: !include customize.yaml’. Note the two spaces in front of the line.
I added wunderground as my first sensor (note there are two spaces in front of everything after sensor below
sensor:
platform: wunderground
api_key: YOURKEY
pws_id: KMANORTH112
I added the sensor templates file as my next sensor:
sensor 2: !include sensor_templates.yaml
Towards the end of my configuration.yaml file, I added the group line:
group: !include group_config.yaml
Before you try customizing/grouping, just make sure that you are getting those sensors created with the right data (start simple). What error are you getting?
thanks… i actually figured it out last night. was struggling with it for a few days… I used wget to grab py file so opening it revealed html code. used git to grab py file everything is working now.