This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type: vertical-stack | |
| cards: | |
| - type: vertical-stack | |
| cards: | |
| - type: markdown | |
| content: '#### 5 Ghz' | |
| - type: custom:auto-entities | |
| filter: | |
| include: | |
| - attributes: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type: custom:config-template-card | |
| variables: | |
| - states['sensor.maquina_de_lavar_watts'].state | |
| - states['sensor.maquina_de_lavar_kwatts'].state | |
| - states['sensor.maquina_de_lavar_voltagem'].state | |
| - states['sensor.maquina_de_lavar_amperes'].state | |
| entities: | |
| - sensor.maquina_de_lavar_watts | |
| - sensor.maquina_de_lavar_kwatts | |
| - sensor.maquina_de_lavar_voltagem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from datetime import date | |
| from sqlalchemy import Column, Date, Float, Integer, String, create_engine | |
| from sqlalchemy.ext.declarative import declarative_base | |
| from sqlalchemy.orm import relationship, sessionmaker | |
| from sqlalchemy.sql.schema import ForeignKey | |
| from sqlalchemy.sql.sqltypes import Boolean | |
| engine = create_engine("sqlite:///test.db", echo=True) | |
| Session = sessionmaker(bind=engine) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.8 | |
| ENV PYTHONUNBUFFERED 1 | |
| WORKDIR /app | |
| COPY requirements.txt requirements.txt | |
| RUN pip3 install --upgrade pip | |
| RUN pip3 install -r requirements.txt | |
| COPY . /app | |
| EXPOSE 8000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.8" | |
| services: | |
| postgres: | |
| container_name: postgresql | |
| image: postgres | |
| restart: always | |
| ports: | |
| - 5432:5432 | |
| enviroment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "editor.fontSize": 16, | |
| "editor.lineHeight":24, | |
| "editor.fontFamily":"Fira Code", | |
| "editor.fontLigatures":true, | |
| // Aplica linhas verticais para lembrar de quebrar linha em códigos muito grandes | |
| "editor.rulers": [ | |
| 80, | |
| 120 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esphome: | |
| name: rosa-do-deserto | |
| platform: ESP8266 | |
| board: nodemcuv2 | |
| # Enable logging | |
| logger: | |
| # Enable Home Assistant API | |
| api: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - platform: feedparser | |
| name: Strava | |
| feed_url: "https://feedmyride.net/activities/20667403" | |
| date_format: "%A, %B %e, %Y" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type: custom:list-card | |
| entity: sensor.strava | |
| title: Strava | |
| feed_attribute: entries | |
| row_limit: 10 | |
| columns: | |
| - title: Atividade | |
| field: title | |
| - title: Descrição | |
| field: summary |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type: picture-elements | |
| image: /local/images/hudson.jpg | |
| elements: | |
| - entity: device_tracker.redmi_note_10 | |
| style: | |
| color: white | |
| font-size: 1.4em | |
| left: 20% | |
| top: 90% | |
| type: state-label |