Hello ! How can i add cards in home assistant. I have lot of badges in my home assistant. How can i convert them in cards . I am faceing configration invalid error.
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: xx.xxxxxx
longitude: xx.xxxxxxx
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: xxx
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone:
# Show links to resources in log and frontend
introduction:
# Enables the frontend
frontend:
# Enables configuration UI
config:
http:
# Uncomment this to add a password (recommended!)
# api_password: xxxxxxxxxxxxxxx
# Uncomment this if you are using SSL or running in Docker etc
# base_url: example.duckdns.org:xxxxx
# Checks for available updates
updater:
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time.
history:
# View all events in a logbook
logbook:
# Track the sun
sun:
zwave:
usb_path: /dev/ttyACM0
config_path: /srv/homeassistant/src/python-openzwave/openzwave/config
# Weather Prediction
sensor:
platform: yr
sensor three:
- platform: yweather
forecast: 1
name: yw_day1
monitored_conditions:
- weather
- temp_min
- temp_max
- platform: yweather
forecast: 2
name: yw_day2
monitored_conditions:
- weather
- temp_min
- temp_max
- platform: yweather
forecast: 3
name: yw_day3
monitored_conditions:
- weather
- temp_min
- temp_max
# Text to speech
tts:
platform: google
group: !include groups.yaml
switch:
platform: rpi_rf
gpio: 17
switches:
bedroom_light:
protocol: 1
pulselength: 314
code_on: 1114389
code_off: 1114388
mqtt:
broker: m21.cloudmqtt.com
port: xxxxxx
client_id: xxx
keepalive: 60
username: xxxxxx
password: xxxxxxx
device_tracker:
- platform: owntracks
max_gps_accuracy: 200
group:
####VIEWS
stue_view:
view: yes
name: Stue
entities:
kjøkken_view:
view: yes
name: kjøkken
entities:
soverom:
view: yes
name: soverom
entities:
sensor one:
platform: worldclock
time_zone: Asia/Calcutta
name: India
sensor two:
platform: worldclock
time_zone: America/Toronto
name: Toronto
environment:
- sensor.yr_symbol
- sun.sun
Configuration Validation
Configuration invalid.CHECK CONFIG
Testing configuration at /home/homeassistant/.homeassistant
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up mqtt
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up introduction
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up http
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up recorder
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up api
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up history
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up frontend
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up discovery
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up updater
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up zwave
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up switch
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up sun
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up group
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up conversation
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up sensor
17-05-08 15:20:25 ERROR (MainThread) [homeassistant.loader] Unable to find component environment
17-05-08 15:20:25 ERROR (MainThread) [homeassistant.setup] Setup failed for environment: Component not found.
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up light
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up zone
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up logbook
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up tts
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up config
17-05-08 15:20:25 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
Failed config
General Errors:
- Component not found: environment
- Setup failed for environment: Component not found.
Successful config (partial)