Hide card and accessing home assistance

2 part question

  1. When using my android phone and connected through wifi I connect to HA using 192.168.2.170:8123 and creted a link to it.
    When accessing at distance I connect using ****.duckdns.org:8123 and created a link for that to. Is there a way to connect using only one Icon/link regardless if I am at home connected at home with wifi or using the web at distance?
    Not really that important but rather have one icon for both.

  2. I have created a group of lights that I want to randomize when alarm is on which show on a card called all lights. I created another group to have all lights and switches on the same card for easier viewing of all my switches and lights. Would like to not show the all lights card on my overview page since they are all in my everything card. What would be the easiest way

light:
    name: All lights
    entities:
      - light.53411381807d3a59486b #bedroom
      - light.53411381807d3a59491c #family room
      - light.53411381807d3a596f8c #fireplace lights 
      - light.53411381807d3a597774 #kitchen ceiling
      - light.53411381807d3a5972d7 #kitchen Island
      - light.53411381807d3a597131 #living room ceiling lights
      - light.186036583c71bf278e13 #Dining Room Light   
      - switch.25206422807d3a7e6a7f #Office Light
      - switch.03504103840d8e9376ee #Entrance light
      
Light:
    name: everything
    entities:
      - light.53411381807d3a59486b #bedroom
      - light.53411381807d3a59491c #family room
      - light.53411381807d3a596f8c #fireplace lights 
      - light.53411381807d3a597774 #kitchen ceiling
      - light.53411381807d3a5972d7 #kitchen Island
      - light.53411381807d3a597131 #living room ceiling lights
      - light.186036583c71bf278e13 #Dining Room Light   
      - switch.25206422807d3a7e6a7f #Office Light
      - switch.03504103840d8e9376ee #Entrance light
      - switch.03504103840d8e9373a3 #upstairs staircase
      - switch.05134730840d8e938181 #basement staircase
      - switch.0673468284f3ebbbd7f7 #picture light

Yes. Use the duckdns address all the time.

Remove the light group from your Lovelace yaml? Remove the group altogether?

Thanks If I am connected to wifi duckdns doesn’t work It just says loading data. If I disonnect from wifi it works

I don’t have a lovelace.yaml. Using latest version .86.2
If I remove group all lights group then my automation which points to it won’t work

- alias: Random Away Lights
  initial_state: true
  hide_entity: false
  trigger:
  - platform: time_pattern
    minutes: /20
    seconds: 0
  condition:
  - condition: state
    entity_id: alarm_control_panel.my_house
    state: armed_away
  - condition: sun
    after: sunset
  action:
  - delay: 00:{{ range(5,11) | random | int }}:00
  - service: homeassistant.toggle
    data_template:
      entity_id: '{{ state_attr(''group.all_lights'',''entity_id'') | random }}'
  id: 3fc70caf5685439f89f6ef03168199fc

Then your router may not support hairpin NAT. Use the dnsmasq add-on

You have something telling the system to display the card if all your lights.

You turn on every light in your house with an automation?

Thanks tried dnsmasq and doesn’t seem to work . Will try again later

```
{
  "defaults": ["8.8.8.8", "8.8.4.4"],
  "forwards": [ ],
  "hosts": [
    {"host": "****.duckdns.org", "ip": "192.168.1.10"}
  ]
}
```

Yes I turn on almost everylight in the house which is in my all lights card but they turn on randomnly ot all at same time

Are you on 0.86.x?

If so, your default is Lovelace.

You either have a ui-lovelace.yaml or it’s going to be managed directly from the UI. Either way, you can easily go in and delete the view from showing

yes on 86.2
and it is now automatically installed with new version
How can I delete the view from showing without deleting the group which I need?
thanks

Use the UI editor?