fixtSE
FixtSEFixtSE
en Englishes Espanol
Blog
Membresia
Tienda
Scribe
Acerca de
en Englishes Espanol
Blog
Membresia
Tienda
Scribe
Acerca de

Youtube
Instagram
RSS
Github
Membresia
Privacidad
Fixt•
Publicado: Jul 23, 2023—3 min read

Integrando Google Calendar en Home Assistant

Escrito por: Fixt

Si estas suscrito al canal
inicia sesion con tu cuenta de Google para acceder a la experiencia de tutorial inteligente.

Tabla de contenidos
Configuración de la integraciónIntegración de Google CalendarEjemplos de automatizaciónEnciende tu PC 30 minutos antes de que empiece tu reunión stand upCrea un evento de calendario cuando se pone el solÚsalo en tu Dashboard

Destacados

Relacionados

Etiquetas

Google
Home-Assistant
Automatización
Integración
Tutorial
Calendario

Si te gusta mi trabajo, considera apoyarme en Ko-fi.

← Volver al blog

Etiquetas

Google
Home-Assistant
Automatización
Integración
Tutorial
Calendario
← Volver al blog

Destacados

Relacionados

Etiquetas

Google
Home-Assistant
Automatización
Integración
Tutorial
Calendario

Configuración de la integración
#

  • Google Developers Console

Integración de Google Calendar
#

Open your Home Assistant and show de integration menu
Puedes usar este botón para iniciar el proceso de configuración. Abrirá la página de integración en Home Assistant.

Puedes encontrar la documentación aquí.
Esta integración te permite conectar tu Google Calendar con Home Assistant.
Una vez configurada, podrás usar los eventos de tu calendario en automatizaciones y scripts.
Puedes usar esto para simplificar la automatización en tu hogar inteligente:
  • Crea un calendario
  • Crea automatizaciones que se activen con eventos en ese calendario
  • Comparte el calendario con tu familia
  • Ahora todos pueden agregar eventos al calendario y hacer que se activen automatizaciones para ellos.

Ejemplos de automatización
#

Enciende tu PC 30 minutos antes de que empiece tu reunión stand up
#

config/automations.yaml

alias: Calendar Stand up meeting
description: ""
trigger:
  - platform: calendar
    event: start
    offset: "-0:30:0"
    entity_id: calendar.fixtse_gmail_com #Change this to your calendar
condition:
  - condition: template
    value_template: "{{ 'stand up meeting' in trigger.calendar_event.summary }}" #Change this to your event name
action:
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.desktop_studio #Change this to your pc switch
mode: single

Crea un evento de calendario cuando se pone el sol
#

config/automations.yaml

alias: Calendar Register sunset
description: ""
trigger:
  - platform: sun
    event: sunset
    offset: 0
condition: []
action:
  - service: google.create_event
    data:
      summary: Sun down
      start_date_time: "{{ as_timestamp(now()) | timestamp_local }}" #This will set the start date of the event at the current time
      end_date_time: "{{ (as_timestamp(now()) + (0.25 | float)*3600) | timestamp_local  }}" #This will set the end date of the event 15 minutes from now
    target:
      entity_id: calendar.fixtse_gmail_com #Change this to your calendar
  - service: homeassistant.update_entity #This will make home assistant refresh your calendar information


Úsalo en tu Dashboard
#

Atomic Calendar revive
Puedes encontrar la documentación aquí.

Custom Card

type: custom:atomic-calendar-revive
name: Calendar
enableModeChange: true
entities:
  - entity: calendar.fixtse_gmail_com #Change this to your calendar
showRelativeTime: false
hideFinishedEvents: false
showDeclined: false
showDate: false
hideDuplicates: false
compactMode: false
hoursOnSameLine: false
showDatePerEvent: false
showWeekNumber: false
showHiddenText: false
showFullDayProgress: false
disableLocationLink: false
showMonth: true
showWeekDay:




target:
entity_id: calendar.fixtse_gmail_com #Change this to your calendar
mode: single
true
calShowDescription: false
showLastCalendarWeek: false
disableCalEventLink: false
disableCalLocationLink: false
disableCalLink: false