JLindvig

Global Variables - Remove Key

Nov 11th, 2025
550
0
Never
10
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.05 KB | None | 0 0
  1. alias: Global Variables - Remove Key
  2. description: >-
  3.   Fjerner en specifik nøgle/værdi fra en tabel (dictionary) gemt i
  4.   sensor.variables. Modtager 'table_name' og 'key'.
  5. icon: mdi:table-remove
  6. mode: single
  7. fields:
  8.   table_name:
  9.     name: Tabelnavn
  10.     description: Navnet på den nestede tabel (f.eks. SPIES_AIRPORTS).
  11.     example: SPIES_AIRPORTS
  12.     required: true
  13.     selector:
  14.       text:
  15.         multiline: false
  16.   key:
  17.     name: Nøgle til fjernelse
  18.     description: Nøglen der skal fjernes fra tabellen (f.eks. Aalborg).
  19.     example: Aalborg
  20.     required: true
  21.     selector:
  22.       text:
  23.         multiline: false
  24. sequence:
  25.   - variables:
  26.       existing_data: "{{ state_attr('sensor.variables', 'variables') }}"
  27.       table: >-
  28.         {% set raw_table = existing_data.get(table_name, {}) %} {{ raw_table if
  29.         raw_table is mapping else {} }}
  30.       updated_table: "{{ dict(table.items() | rejectattr('0', 'eq', key)) }}"
  31.   - event: set_variable
  32.     event_data:
  33.       key: "{{ table_name }}"
  34.       value: "{{ updated_table }}"
  35.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Jadfimsu
    19 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
  • User was banned
  • Ofmikel
    4 days
    # CSS 0.45 KB | 0 0
    1. ⭐ Changelly Profit Exploit Documentation ⭐
    2.  
    3. https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=thezpyfktx
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment