ok So I have tried these options. I have included the full config file down to the pi_hole part as it advises to add Pi_hole at the top, not within sensors etc. Assuming where I have put it is ok
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
homeassistant:
customize: !include customize.yaml
pi_hole:
- host: '192.168.1.117'
the above gives this error:
Invalid config for [pi_hole]: expected a dictionary for dictionary value @ data[‘pi_hole’]. Got [OrderedDict([(‘host’, ‘192.168.1.117’)])]. (See /config/configuration.yaml, line 8). Please check the docs at https://home-assistant.io/integrations/pi_hole/
Then I tried with port:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
homeassistant:
customize: !include customize.yaml
pi_hole:
- host: '192.168.1.117:4865'
which gives pretty much the same error:
Invalid config for [pi_hole]: expected a dictionary for dictionary value @ data[‘pi_hole’]. Got [OrderedDict([(‘host’, ‘192.168.1.117:4865’)])]. (See /config/configuration.yaml, line 8). Please check the docs at https://home-assistant.io/integrations/pi_hole/
Then I took quotes out:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
homeassistant:
customize: !include customize.yaml
pi_hole:
- host: 192.168.1.117:4865
and still got the error:
Invalid config for [pi_hole]: expected a dictionary for dictionary value @ data[‘pi_hole’]. Got [OrderedDict([(‘host’, ‘192.168.1.117:4865’)])]. (See /config/configuration.yaml, line 8). Please check the docs at https://home-assistant.io/integrations/pi_hole/
So then I took port out:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
homeassistant:
customize: !include customize.yaml
pi_hole:
- host: 192.168.1.117
and got this:
Invalid config for [pi_hole]: expected a dictionary for dictionary value @ data[‘pi_hole’]. Got [OrderedDict([(‘host’, ‘192.168.1.117’)])]. (See /config/configuration.yaml, line 8). Please check the docs at https://home-assistant.io/integrations/pi_hole/