dummylabs / thewatchman

Home Assistant custom integration to keep track of missing entities and actions in your config files
MIT License
475 stars 20 forks source link

Support remote entities #132

Closed felipecrs closed 1 week ago

felipecrs commented 6 months ago

Looks like all remote entities are always reported as unknown.

dummylabs commented 5 months ago

Could you share a snippet of a YAML file with the remote entity declaration so we can troubleshoot this issue? Thanks!

felipecrs commented 5 months ago

Android TV Card:

type: grid
cards:
  - type: horizontal-stack
    cards:
      - type: tile
        entity: media_player.tv_da_sala_samsung
        show_entity_picture: false
        vertical: false
        hide_state: false
        state_content:
          - state
          - last-changed
  - type: custom:android-tv-card
    remote_id: remote.tv_da_sala_samsung
    media_player_id: media_player.tv_da_sala_samsung
    autofill_entity_id: true
    custom_actions:
      up:
        tap_action:
          action: key
          key: KEY_UP
      down:
        tap_action:
          action: key
          key: KEY_DOWN
      left:
        tap_action:
          action: key
          key: KEY_LEFT
      right:
        tap_action:
          action: key
          key: KEY_RIGHT
      center:
        tap_action:
          action: key
          key: KEY_ENTER
        double_tap_action:
          action: key
          key: KEY_RETURN
      power:
        icon: mdi:power
        tap_action:
          action: call-service
          service: media_player.toggle
      home:
        tap_action:
          action: key
          key: KEY_HOME
      back:
        tap_action:
          action: key
          key: KEY_RETURN
      volume_mute:
        tap_action:
          action: key
          key: KEY_MUTE
      input:
        icon: mdi:hdmi-port
        tap_action:
          action: key
          key: KEY_SOURCE
    rows:
      - - back
        - power
        - input
        - home
      - - volume_mute
        - slider
      - - touchpad
title: TV da sala (Samsung)

But this can also be present in automations and everywhere else AFAIK.

RoboMagus commented 1 week ago

I believe remote entities are a relatively new addition to the supported platforms.

It might be a good addition to have a GH workflow verify the platforms that Watchman checks against the complete supported list as part of a test case.

This could help keep track of any new additions, as well as provide opportunity to prune deprecated entity platforms such as proximity.

dummylabs commented 2 days ago

Will be fixed in 0.6.4