Input_select: 2 entities declared with same entity_ids

One more possible positive outcome: reusable code for helpers.

Here are settings for some “color” entity:

min: 0
max: 255
step: 1
mode: slider

stored in some shared file.

Let’s create two similar entities - but with different icons:

input_number:
  test_color_1: !include /config/shared/helpers/input_number_color.yaml
  test_color_2: !include /config/shared/helpers/input_number_color.yaml
input_number:
  test_color_1:
    icon: mdi:car
  test_color_2:
    icon: mdi:account

:stuck_out_tongue_winking_eye:

This method may be used in cases when similar entities are initially defined in different packages.
Ofc, if they are defined in the same package - yaml-anchors are sufficient.