Advertisement
patrickmx

carte pour LD2410

Apr 4th, 2024
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.96 KB | None | 0 0
  1. type: vertical-stack
  2. title: mon_friendly_name
  3. cards:
  4.   - type: horizontal-stack
  5.     cards:
  6.       - type: entities
  7.         entities:
  8.           - entity: switch.mon_friendly_name_engineering_mode
  9.             name: engineering mode
  10.           - entity: sensor.mon_friendly_name_ip_address
  11.             name: adresse IP           
  12.   - type: vertical-stack
  13.     cards:
  14.       - type: entities
  15.         entities:
  16.           - entity: number.mon_friendly_name_timeout
  17.             name: timeout
  18.           - entity: number.mon_friendly_name_max_move_distance_gate
  19.             name: max move distance gate
  20.           - entity: number.mon_friendly_name_max_still_distance_gate
  21.             name: max still distance gate
  22.           - entity: select.mon_friendly_name_light_function
  23.             name: light function
  24.           - entity: number.mon_friendly_name_light_threshold
  25.             name: light threshold
  26.       - type: horizontal-stack
  27.         cards:
  28.           - type: entity
  29.             entity: sensor.mon_friendly_name_detection_distance
  30.             name: distance
  31.           - type: entity
  32.             entity: sensor.mon_friendly_name_moving_distance
  33.             name: move
  34.           - type: entity
  35.             entity: sensor.mon_friendly_name_still_distance
  36.             name: still
  37.   - type: horizontal-stack
  38.     cards:
  39.       - type: entity
  40.         entity: sensor.mon_friendly_name_moving_energy
  41.         name: move energy
  42.       - type: entity
  43.         entity: sensor.mon_friendly_name_still_energy
  44.         name: still energy
  45.   - type: horizontal-stack
  46.     cards:
  47.       - type: entity
  48.         entity: binary_sensor.mon_friendly_name_out_pin_presence_status
  49.         name: gpio presence
  50.         state_color: true
  51.       - type: entity
  52.         entity: binary_sensor.mon_friendly_name_presence
  53.         name: presence
  54.         state_color: true
  55.       - type: entity
  56.         entity: binary_sensor.mon_friendly_name_moving_target
  57.         name: movement
  58.         state_color: true
  59.       - type: entity
  60.         entity: binary_sensor.mon_friendly_name_still_target
  61.         name: still
  62.         state_color: true
  63.   - type: conditional
  64.     conditions:
  65.       - entity: switch.mon_friendly_name_engineering_mode
  66.         state: 'on'
  67.     card:
  68.       type: vertical-stack
  69.       cards:
  70.         - type: horizontal-stack
  71.           cards:
  72.             - type: entity
  73.               entity: sensor.mon_friendly_name_light
  74.               name: light
  75.             - type: entity
  76.               entity: binary_sensor.mon_friendly_name_out_pin_presence_status
  77.               name: out pin presence
  78.               state_color: true
  79.         - type: horizontal-stack
  80.           cards:
  81.             - type: entity
  82.               entity: sensor.mon_friendly_name_g0_move_energy
  83.               name: g0
  84.             - type: entity
  85.               entity: number.mon_friendly_name_g0_move_threshold
  86.               name: ' '
  87.             - type: entity
  88.               entity: sensor.mon_friendly_name_g0_still_energy
  89.               name: ' '
  90.             - type: entity
  91.               entity: number.mon_friendly_name_g0_still_threshold
  92.               name: ' '
  93.         - type: horizontal-stack
  94.           cards:
  95.             - type: entity
  96.               entity: sensor.mon_friendly_name_g1_move_energy
  97.               name: g1
  98.               icon: ' '
  99.             - type: entity
  100.               entity: number.mon_friendly_name_g1_move_threshold
  101.               name: ' '
  102.               icon: ' '
  103.             - type: entity
  104.               entity: sensor.mon_friendly_name_g1_still_energy
  105.               name: ' '
  106.               icon: ' '
  107.             - type: entity
  108.               entity: number.mon_friendly_name_g1_still_threshold
  109.               name: ' '
  110.               icon: ' '
  111.         - type: horizontal-stack
  112.           cards:
  113.             - type: entity
  114.               entity: sensor.mon_friendly_name_g2_move_energy
  115.               name: g2
  116.               icon: ' '
  117.             - type: entity
  118.               entity: number.mon_friendly_name_g2_move_threshold
  119.               name: ' '
  120.               icon: ' '
  121.             - type: entity
  122.               entity: sensor.mon_friendly_name_g2_still_energy
  123.               name: ' '
  124.               icon: ' '
  125.             - type: entity
  126.               entity: number.mon_friendly_name_g2_still_threshold
  127.               name: ' '
  128.               icon: ' '
  129.         - type: horizontal-stack
  130.           cards:
  131.             - type: entity
  132.               entity: sensor.mon_friendly_name_g3_move_energy
  133.               name: g3
  134.               icon: ' '
  135.             - type: entity
  136.               entity: number.mon_friendly_name_g3_move_threshold
  137.               name: ' '
  138.               icon: ' '
  139.             - type: entity
  140.               entity: sensor.mon_friendly_name_g3_still_energy
  141.               name: ' '
  142.               icon: ' '
  143.             - type: entity
  144.               entity: number.mon_friendly_name_g3_still_threshold
  145.               name: ' '
  146.               icon: ' '
  147.         - type: horizontal-stack
  148.           cards:
  149.             - type: entity
  150.               entity: sensor.mon_friendly_name_g4_move_energy
  151.               name: g4
  152.               icon: ' '
  153.             - type: entity
  154.               entity: number.mon_friendly_name_g4_move_threshold
  155.               name: ' '
  156.               icon: ' '
  157.             - type: entity
  158.               entity: sensor.mon_friendly_name_g4_still_energy
  159.               name: ' '
  160.               icon: ' '
  161.             - type: entity
  162.               entity: number.mon_friendly_name_g4_still_threshold
  163.               name: ' '
  164.               icon: ' '
  165.         - type: horizontal-stack
  166.           cards:
  167.             - type: entity
  168.               entity: sensor.mon_friendly_name_g5_move_energy
  169.               name: g5
  170.               icon: ' '
  171.             - type: entity
  172.               entity: number.mon_friendly_name_g5_move_threshold
  173.               name: ' '
  174.               icon: ' '
  175.             - type: entity
  176.               entity: sensor.mon_friendly_name_g5_still_energy
  177.               name: ' '
  178.               icon: ' '
  179.             - type: entity
  180.               entity: number.mon_friendly_name_g5_still_threshold
  181.               name: ' '
  182.               icon: ' '
  183.         - type: horizontal-stack
  184.           cards:
  185.             - type: entity
  186.               entity: sensor.mon_friendly_name_g6_move_energy
  187.               name: g6
  188.               icon: ' '
  189.             - type: entity
  190.               entity: number.mon_friendly_name_g6_move_threshold
  191.               name: ' '
  192.               icon: ' '
  193.             - type: entity
  194.               entity: sensor.mon_friendly_name_g6_still_energy
  195.               name: ' '
  196.               icon: ' '
  197.             - type: entity
  198.               entity: number.mon_friendly_name_g6_still_threshold
  199.               name: ' '
  200.               icon: ' '
  201.         - type: horizontal-stack
  202.           cards:
  203.             - type: entity
  204.               entity: sensor.mon_friendly_name_g7_move_energy
  205.               name: g7
  206.               icon: ' '
  207.             - type: entity
  208.               entity: number.mon_friendly_name_g7_move_threshold
  209.               name: ' '
  210.               icon: ' '
  211.             - type: entity
  212.               entity: sensor.mon_friendly_name_g7_still_energy
  213.               name: ' '
  214.               icon: ' '
  215.             - type: entity
  216.               entity: number.mon_friendly_name_g7_still_threshold
  217.               name: ' '
  218.               icon: ' '
  219.         - type: horizontal-stack
  220.           cards:
  221.             - type: entity
  222.               entity: sensor.mon_friendly_name_g8_move_energy
  223.               name: g8
  224.               icon: ' '
  225.             - type: entity
  226.               entity: number.mon_friendly_name_g8_move_threshold
  227.               name: ' '
  228.               icon: ' '
  229.             - type: entity
  230.               entity: sensor.mon_friendly_name_g8_still_energy
  231.               name: ' '
  232.               icon: ' '
  233.             - type: entity
  234.               entity: number.mon_friendly_name_g8_still_threshold
  235.               name: ' '
  236.               icon: ' '
  237.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement