I am trying to set up multiple world clocks as such:
sensor:
- platform: worldclock
name: London Time
time_zone: Europe/London
sensor:
- platform: worldclock
name: Toronto Time
time_zone: America/Toronto
sensor:
- platform: worldclock
name: LA Time
time_zone: America/Los_Angeles
However when I do this I only see LA Time shown as an entity.
What am I doing wrong? How can I get multiple world clocks set up?
You don’t need “sensor:” before each sensor, instead all sensors should be inside one “sensor:”
Try like this:
sensor:
- platform: worldclock
name: London Time
time_zone: Europe/London
- platform: worldclock
name: Toronto Time
time_zone: America/Toronto
- platform: worldclock
name: LA Time
time_zone: America/Los_Angeles
Probably you have them in their own “sensor:” section. All sensors need to be under the same “sensor:” section, you can’t have multiple “sensor:”.