text: Title: Emulated Hue error since 2025.3.x
  Body: ### The problem
  
  Emulated hue devices are offline in Harmony HUB, repair or refresh doesn't fix it.
  Accessing http://haip:8300/api/v2/lights throws a 500 Internal Server Error.
  
  ### What version of Home Assistant Core has the issue?
  
  core-2025.3.3
  
  ### What was the last working version of Home Assistant Core?
  
  core-2024.x.x
  
  ### What type of installation are you running?
  
  Home Assistant Container
  
  ### Integration causing the issue
  
  Emulated Hue
  
  ### Link to integration documentation on our website
  
  https://www.home-assistant.io/integrations/emulated_hue/
  
  ### Diagnostics information
  
  _No response_
  
  ### Example YAML snippet
  
  ```yaml
  
  ```
  
  ### Anything in the logs that might be useful for us?
  
  ```txt
  Logger: aiohttp.server
  Source: /usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py:451
  First occurred: 6:56:39 PM (3 occurrences)
  Last logged: 6:56:57 PM
  
  Error handling request from 192.168.0.54
  Error handling request from 192.168.0.20
  Traceback (most recent call last):
    File "/usr/local/lib/python3.13/site-packages/aiohttp/web_protocol.py", line 480, in _handle_request
      resp = await request_handler(request)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/local/lib/python3.13/site-packages/aiohttp/web_app.py", line 569, in _handle
      return await handler(request)
             ^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 75, in handle
      result = handler(request, **request.match_info)
    File "/usr/src/homeassistant/homeassistant/components/emulated_hue/hue_api.py", line 247, in get
      return self.json(create_list_of_entities(self.config, request))
                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/src/homeassistant/homeassistant/components/emulated_hue/hue_api.py", line 899, in create_list_of_entities
      config.entity_id_to_number(entity_id): state_to_json(config, state)
                                             ~~~~~~~~~~~~~^^^^^^^^^^^^^^^
    File "/usr/src/homeassistant/homeassistant/components/emulated_hue/hue_api.py", line 775, in state_to_json
      state_dict = get_entity_state_dict(config, state)
    File "/usr/src/homeassistant/homeassistant/components/emulated_hue/hue_api.py", line 666, in get_entity_state_dict
      return _build_entity_state_dict(entity)
    File "/usr/src/homeassistant/homeassistant/components/emulated_hue/hue_api.py", line 740, in _build_entity_state_dict
      data[STATE_BRIGHTNESS] = round(percentage * HUE_API_STATE_BRI_MAX / 100)
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
  TypeError: unsupported operand type(s) for /: 'str' and 'int'
  ```
  
  ### Additional information
  
  _No response_