Re weatherundground Oliver

here the file

I guess this is your problem
what are these ``` in your configuration?

Well, if you installed the addon from my link, than you must also change the platform in configuration.yaml - for this addon it is “wundergroundpws”, while the default (which you have) is “wunderground”…

still says this 2021-02-04 12:45:34 ERROR (SyncWorker_0) [homeassistant.util.yaml.loader] while scanning for the next token

found character ‘`’ that cannot start any token

in “/config/configuration.yaml”, line 5, column 1

2021-02-04 12:45:34 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: while scanning for the next token

found character ‘`’ that cannot start any token

in “/config/configuration.yaml”, line 5, column 1. Activating safe mode

what are these ``` in your configuration?

And do you have a proper API key without quotation marks in config, like this:

- platform: wundergroundpws
  api_key: 2f51trz67u987t3zu8ert91r92pp6er2
  pws_id: ILOGDRAG2

If you use it this way:

- platform: wundergroundpws
  api_key: '2f51trz67u987t3zu8ert91r92pp6er2'
  pws_id: ILOGDRAG2

there will most likely be an error.

here’s my layout now in the config I got no errors in logs but still not showing up on h a
also do I need to add this sensor.wupws_weather_1d_metric_2 where it says sensor
thanks Oliver

Not sure what are you asking… here is my config, for example:

- platform: wundergroundpws
  api_key: !secret key_wunder
  pws_id: ILOGDRAG999
  lang: sl-SI
  monitored_conditions:
      - humidity
      - temp
      - dewpt
      - heatIndex
      - windChill
      - precipRate
      - precipTotal
      - pressure
      - windGust
      - windSpeed
      - winddir
      - obsTimeLocal
      - weather_1d
      - weather_1n
      - weather_2d
      - weather_2n
      - weather_3d
      - weather_3n
      - weather_4d
      - weather_4n
      - weather_5d
      - weather_5n

For all these lines the sensors are automatically created, for example the line
“- humidity”
creates
“sensor.wupws_humidity”
and so on. You don’t need to create any additional sensors.

thanks for the reply

what is this for lang: sl-SI

Defining my local language (Slovenian), so that the forecast is in Slovenian instead of English.

does it come in as weather home I still don’t have entities with wu

get this error now ogger: homeassistant.config
Source: config.py:822
First occurred: 17:06:21 (1 occurrences)
Last logged: 17:06:21

Platform error: sensor - Integration ‘wundergroundpws’ not found.

You installed the custom component, correct?

do I put the custom_ component in the config folder of ha or in the addons folder

Put wundergroundpws in the config/custom_components directory.

is that right

I did this To Install, copy the custom_components directory into your .homeassistant directory and the www directory into your .homeassistant directory.

what do you mean

Looks like you have it right. Not sure what’s preventing wundergroundpws from being found.

I get this error Logger: homeassistant.bootstrap
Source: util/yaml/loader.py:61
First occurred: 18:33:16 (1 occurrences)
Last logged: 18:33:16

Error setting up integration sensor - received exception
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 835, in async_forward_entry_setup
result = await async_setup_component(self.hass, domain, self._hass_config)
File “/usr/src/homeassistant/homeassistant/setup.py”, line 57, in async_setup_component
return await setup_tasks[domain] # type: ignore
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 835, in async_forward_entry_setup
result = await async_setup_component(self.hass, domain, self._hass_config)
File “/usr/src/homeassistant/homeassistant/setup.py”, line 57, in async_setup_component
return await setup_tasks[domain] # type: ignore
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 835, in async_forward_entry_setup
result = await async_setup_component(self.hass, domain, self._hass_config)
File “/usr/src/homeassistant/homeassistant/setup.py”, line 57, in async_setup_component
return await setup_tasks[domain] # type: ignore
File “/usr/src/homeassistant/homeassistant/setup.py”, line 64, in async_setup_component
return await task # type: ignore
File “/usr/src/homeassistant/homeassistant/setup.py”, line 174, in _async_setup_component
processed_config = await conf_util.async_process_component_config(
File “/usr/src/homeassistant/homeassistant/config.py”, line 826, in async_process_component_config
platform = p_integration.get_platform(domain)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 475, in get_platform
cache[full_name] = self._import_platform(platform_name)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 480, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File “/usr/local/lib/python3.8/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1014, in _gcd_import
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “”, line 783, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/config/custom_components/wundergroundpws/sensor.py”, line 45, in
load_config = config.load_yaml_config_file(conf_file)
File “/usr/src/homeassistant/homeassistant/config.py”, line 329, in load_yaml_config_file
conf_dict = load_yaml(config_path)
File “/usr/src/homeassistant/homeassistant/util/yaml/loader.py”, line 61, in load_yaml
with open(fname, encoding=“utf-8”) as conf_file:
FileNotFoundError: [Errno 2] No such file or directory: ‘/root/.homeassistant/configuration.yaml’

do you have
sensor: on the top of that list to make ha pick it up

what did you mean by Put wundergroundpws in the config/custom_components directory.