Issues with configuration.yaml file

I am new to this. as of two days ago.

Got my Home Assistant working. but now i have a issue. try some basic scripts. But do not get to see on the home screen. i have added a couple of scripts. am i doing the scripts wrong or am i missing somthing completely.

Would really appricate some help on this as i would like to expand my horizon’s

Can you post your configuration.yaml here so we can look into it?

ok cool thank for the help`
here it is below

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: -26.2309
  longitude: 28.0583
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 1693
  # 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: Africa/Johannesburg

# Show links to resources in log and frontend
- introduction:

# Enables the frontend
frontend:

  http:
  # Uncomment this to add a password (recommended!)
  # api_password: PASSWORD

  # 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:

  #sensor:
  platform: synologydsm
    host: 192.168.2.254
    username: admin
    password: #######
    monitored_conditions:
      - cpu_total_load
      - memory_real_usage
      - network_up

# View all events in a logbook
logbook:

# Track the sun
sun:

# Weather Prediction
- sensor:
  platform: yr`

I think you hit the wrong button or something. Highlight only the sections of the post that include code and nothing else, then press the code button indicated by the red box in the image:

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: -26.2309
  longitude: 28.0583
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 1693
  # 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: Africa/Johannesburg

# Show links to resources in log and frontend
- introduction:

# Enables the frontend
frontend:

  http:
  # Uncomment this to add a password (recommended!)
  # api_password: PASSWORD

  # 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:

  #sensor:
  platform: synologydsm
host: 192.168.2.254
username: admin
password: Bl@ck!!
monitored_conditions:
  - cpu_total_load
  - memory_real_usage
  - network_up

# View all events in a logbook
logbook:

# Track the sun
sun:

# Weather Prediction
- sensor:
  platform: yr

What do you think

Please highlight all of your code block and then press the button; it looks like you only caught the first line. It makes it hard for others to see where you might be missing something. Your code should look like this:

code example before formatting:

Zones

  • name: NPS
    latitude: 40.7380001
    longitude: -74.1717712
    radius: 250
    icon: mdi:school

After formatting:

#
# Zones
#
- name: NPS
  latitude: 40.7380001
  longitude: -74.1717712
  radius: 250
  icon: mdi:school

There are a few indentation errors in your configuration file that need to be fixed. Some examples: introduction cannot start with a dash - either remove the line altogether or remove dash and space; all of http, updaterhistory need to be left-bound without leading space; for your synologydsm sensor you actually need a line sensor: right before that again left-bound without leading space, and the sensor’s config parameters need to be indented correctly as shown in the documentation; and looking at the weather sensors: when setting up multiple sensors of different types, you should have another look at the documentation on how to structure the config file.