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
| alias: Notificar dispositivos Danny | |
| description: >- | |
| Envía notificaciones críticas o estándar con soporte para iconos automáticos y | |
| acciones destructivas. | |
| mode: parallel | |
| fields: | |
| title: | |
| name: Título | |
| description: "Ej: ♨️ Gas detectado" | |
| required: true |
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
| alias: Manda una notificación cuando se abre la puerta de la entrada | |
| description: Toma foto cuando se abre la puerta, detecta personas o tocan el timbre | |
| triggers: | |
| - entity_id: binary_sensor.contacto_entrada_contact | |
| to: "on" | |
| id: puerta_abierta | |
| trigger: state | |
| - entity_id: binary_sensor.tocando_el_timbre | |
| to: "on" | |
| id: timbre_tocado |
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
| function getCards() { | |
| const currentDate = new Date(); | |
| const month = currentDate.getMonth() + 1; | |
| const formattedMonth = month < 10 ? `0${month}` : month; | |
| const thisMonth = `${currentDate.getFullYear()}-${formattedMonth}`; | |
| const cards = document.querySelectorAll( | |
| `[name="tempoAllocationCard"][data-date^="${thisMonth}"]` | |
| ); | |
| return cards; |
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
| CREATE TABLE job_grades ( | |
| grade CHAR(1), | |
| lowest_sal NUMBER(8,2) NOT NULL, | |
| highest_sal NUMBER(8,2) NOT NULL | |
| ); | |
| ALTER TABLE job_grades | |
| ADD CONSTRAINT jobgrades_grade_pk PRIMARY KEY (grade); | |
| INSERT INTO job_grades VALUES ('A', 1000, 2999); |
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
| mqtt: | |
| enabled: false | |
| go2rtc: | |
| streams: | |
| test: | |
| - rtsp://admin:mangato1@10.0.0.201:554/h264Preview_01_main | |
| ffmpeg: | |
| hwaccel_args: preset-vaapi |
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
| blueprint: | |
| name: Alexa Media Player TTS/Announce from Lovelace UI | |
| description: Send a notification (TTS/Announcment) via the Lovelace-Ui with the help of a input select and input text. Uses the TTS component from Alexa Media Player which can be installed from the Home Assistant Community Store (HACS). | |
| domain: automation | |
| input: | |
| message: | |
| name: Message of the notification (Input Text) | |
| description: Input text where the message comes from | |
| selector: | |
| entity: |
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
| # https://www.youtube.com/watch?v=Vg8lnG2lKSM | |
| Auto Rename Tag: https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag | |
| Better Comments: https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments | |
| change-case: https://marketplace.visualstudio.com/items?itemName=wmaurer.change-case | |
| Code Spell Checker: https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker | |
| Spanish - Code Spell Checker: https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-spanish | |
| Duplicate action: https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-duplicate | |
| Error Lens: https://marketplace.visualstudio.com/items?itemName=usernamehw.errorlens | |
| file-icons: https://marketplace.visualstudio.com/items?itemName=file-icons.file-icons | |
| GitHub Copilot: https://marketplace.visualstudio.com/items?itemName=GitHub.copilot |
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
| blueprint: | |
| name: Alarmo Keypad Sync with nightmode | |
| description: Keypad sync with Alarmo added nightmode | |
| domain: automation | |
| input: | |
| state_topic: | |
| name: MQTT State Topic of your Zigbee2MQTT Keypad | |
| description: "The State Topic is composed of your Zigbee2MQTT base_topic (see your Z2M Addon Configuration) and the Friendly Name of your keypad in Z2M. Example: zigbee2mqtt/Keypad" | |
| selector: |
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:auto-entities | |
| card: | |
| show_header_toggle: false | |
| title: Running Automations | |
| type: entities | |
| filter: | |
| include: | |
| - domain: automation | |
| attributes: | |
| current: '! 0' |
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
| public static bool validaCedula(string pCedula) | |
| { | |
| int vnTotal = 0; | |
| string vcCedula = pCedula.Replace("-", ""); | |
| int pLongCed = vcCedula.Trim().Length; | |
| int[] digitoMult = new int[11] { 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1 }; | |
| if (pLongCed < 11 || pLongCed > 11) | |
| return false; |
NewerOlder