<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Claude on dotnet.work</title>
        <link>https://dotnet.work/tags/claude/</link>
        <description>Recent content in Claude on dotnet.work</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-US</language>
        <managingEditor>dotnet@oles.cloud (Ole Albers)</managingEditor>
        <webMaster>dotnet@oles.cloud (Ole Albers)</webMaster>
        <copyright>Ole Albers</copyright>
        <lastBuildDate>Wed, 04 Feb 2026 18:17:00 +0100</lastBuildDate><atom:link href="https://dotnet.work/tags/claude/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>Use Claude AI in Home Assistant Studio</title>
            <link>https://dotnet.work/blog/use-claude-ai-in-home-assistant-studio/</link>
            <pubDate>Wed, 04 Feb 2026 18:17:00 +0100</pubDate><author>dotnet@oles.cloud (Ole Albers)</author>
            <guid>https://dotnet.work/blog/use-claude-ai-in-home-assistant-studio/</guid>
            <description>&lt;img src=&#34;https://dotnet.work/blog/use-claude-ai-in-home-assistant-studio/2026-02-04-10_37_55-Home-Assistant-Mozilla-Firefox_hu_9daa82fb4ffbfdf5.png&#34; alt=&#34;Featured image of post Use Claude AI in Home Assistant Studio&#34; /&gt;&lt;p&gt;Sometimes you have to configure stuff in Home Assistant the &amp;ldquo;painful&amp;rdquo; way: Working with Yaml-Files instead of using the UI. Therefore Studio Code Server is the first choice for most of us. But Yaml isn&amp;rsquo;t fun. Yaml in hass.io especially isn&amp;rsquo;t fun.&lt;/p&gt;&#xA;&lt;p&gt;But there is ai for the rescue. AI isn&amp;rsquo;t always the solution, but working with ugly configuration formats is exactly where it is good at. So let&amp;rsquo;s add claude to the Studio Code Server&lt;/p&gt;&#xA;&lt;h2 id=&#34;studio-code-server&#34;&gt;&lt;a href=&#34;#studio-code-server&#34; class=&#34;header-anchor&#34;&gt;&lt;/a&gt;Studio Code Server&#xA;&lt;/h2&gt;&lt;p&gt;I assume you already have installed the Studio Code Server. If you haven&amp;rsquo;t: It is a simple Add-On. Just follow the official instructions:&#xA;&lt;a class=&#34;link&#34; href=&#34;https://github.com/hassio-addons/addon-vscode/blob/main/vscode/DOCS.md&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;https://github.com/hassio-addons/addon-vscode/blob/main/vscode/DOCS.md&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Studio Code Server will then be installed as a docker container. (Don&amp;rsquo;t worry. No need to know anything about docker. This works in the background)&lt;/p&gt;&#xA;&lt;h2 id=&#34;preparing&#34;&gt;&lt;a href=&#34;#preparing&#34; class=&#34;header-anchor&#34;&gt;&lt;/a&gt;Preparing&#xA;&lt;/h2&gt;&lt;p&gt;Claude needs NodeJs which isn&amp;rsquo;t in the studio code server docker. But don&amp;rsquo;t worry, this is easy to solve. You &lt;em&gt;could&lt;/em&gt; connect to the docker and install the required packages using app-get. But while this works this has two disadvantages. First it is a bit more complicated if you are not at home with Linux Systems and most important: Any update of the Addon would kill NodeJs and you would have to do this all over again.&lt;/p&gt;&#xA;&lt;p&gt;Thankfully the Add-On devs thought of an easy way to do that for you. Just go to &lt;em&gt;Settings - Add-Ons - Studio Code Server&lt;/em&gt;. There go to &lt;em&gt;Configuration&lt;/em&gt; and in the &amp;ldquo;packages&amp;rdquo; enter &amp;ldquo;npm&amp;rdquo; and then &amp;ldquo;nodejs&amp;rdquo;. Do not enter both at the time. Each one of them by enter. After that there should be two bubbles on top:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img alt=&#34;Setup Page&#34; class=&#34;gallery-image&#34; data-flex-basis=&#34;339px&#34; data-flex-grow=&#34;141&#34; data-title-escaped=&#34;Setup Page&#34; height=&#34;298&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://dotnet.work/blog/use-claude-ai-in-home-assistant-studio/2026-02-04-10_37_55-Home-Assistant-Mozilla-Firefox_hu_9daa82fb4ffbfdf5.png&#34; title=&#34;Setup Page&#34; width=&#34;421&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;If you prefer editing in yaml, here is your content:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;packages:&#xA;  - nodejs&#xA;  - npm&#xA;init_commands: []&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Save and restart the addon. Don&amp;rsquo;t be alarmed if this takes a LONG time. There will have big packages to be downloaded and installed into that container. This will take minutes even on a fast machine and especially if using a Raspberry Pi.&lt;/p&gt;&#xA;&lt;h2 id=&#34;adding-claude&#34;&gt;&lt;a href=&#34;#adding-claude&#34; class=&#34;header-anchor&#34;&gt;&lt;/a&gt;Adding Claude&#xA;&lt;/h2&gt;&lt;p&gt;&lt;img alt=&#34;Install Addon&#34; class=&#34;gallery-image&#34; data-flex-basis=&#34;880px&#34; data-flex-grow=&#34;366&#34; data-title-escaped=&#34;Install Addon&#34; height=&#34;260&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://dotnet.work/blog/use-claude-ai-in-home-assistant-studio/2026-02-04-10_42_17-Studio-Code-Server-Home-Assistant-Mozilla-Firefox_hu_8fee66ef6366d762.png&#34; srcset=&#34;https://dotnet.work/blog/use-claude-ai-in-home-assistant-studio/2026-02-04-10_42_17-Studio-Code-Server-Home-Assistant-Mozilla-Firefox_hu_9257303b5683b41e.png 800w, https://dotnet.work/blog/use-claude-ai-in-home-assistant-studio/2026-02-04-10_42_17-Studio-Code-Server-Home-Assistant-Mozilla-Firefox_hu_8fee66ef6366d762.png 954w&#34; title=&#34;Install Addon&#34; width=&#34;954&#34;&gt;&#xA;Now you can switch to the code server. Select &lt;em&gt;Extensions&lt;/em&gt; on the left side, enter &amp;ldquo;Claude&amp;rdquo; into the search and install &amp;ldquo;Claude Code for VS Code&amp;rdquo;. After that you should have that typical &amp;ldquo;Claude Star&amp;rdquo; on the top right corner. You will be greeted with the authentication method. Select the one that matches your account. (Most likely Claude.ai Subscription)&lt;/p&gt;&#xA;&lt;p&gt;&lt;img alt=&#34;Account selection from Claude&#34; class=&#34;gallery-image&#34; data-flex-basis=&#34;152px&#34; data-flex-grow=&#34;63&#34; data-title-escaped=&#34;Account Selection from Claude&#34; height=&#34;878&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://dotnet.work/blog/use-claude-ai-in-home-assistant-studio/2026-02-04-10_46_17-Studio-Code-Server-Home-Assistant-Mozilla-Firefox_hu_71d79e2b7d9c581c.png&#34; title=&#34;Account Selection from Claude&#34; width=&#34;559&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;If after using the Login clicking &amp;ldquo;Open&amp;rdquo; does not work because you get redirected to a local url use the url instead that is shown in the textbox:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img alt=&#34;Continue in Browser &#34; class=&#34;gallery-image&#34; data-flex-basis=&#34;353px&#34; data-flex-grow=&#34;147&#34; data-title-escaped=&#34;Continue in Browser&#34; height=&#34;365&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://dotnet.work/blog/use-claude-ai-in-home-assistant-studio/2026-02-04-10_52_54-Studio-Code-Server-Home-Assistant-Mozilla-Firefox_hu_fe7c633de7eebace.png&#34; title=&#34;Continue in Browser&#34; width=&#34;538&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Just copy paste that url manually and paste the returning code into Studio Code.&lt;/p&gt;&#xA;&lt;h2 id=&#34;using-claude&#34;&gt;&lt;a href=&#34;#using-claude&#34; class=&#34;header-anchor&#34;&gt;&lt;/a&gt;Using Claude&#xA;&lt;/h2&gt;&lt;p&gt;Now you can open Claude using the star and let him do the work&lt;/p&gt;&#xA;&lt;p&gt;&lt;img alt=&#34;Screenshot of Claude analyzing the configuration.yaml&#34; class=&#34;gallery-image&#34; data-flex-basis=&#34;281px&#34; data-flex-grow=&#34;117&#34; data-title-escaped=&#34;Claude analyzing the configuration.yaml&#34; height=&#34;839&#34; loading=&#34;lazy&#34; sizes=&#34;(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px&#34; src=&#34;https://dotnet.work/blog/use-claude-ai-in-home-assistant-studio/2026-02-04-10_56_46-Studio-Code-Server-Home-Assistant-Mozilla-Firefox_hu_5fc2475700b80717.png&#34; srcset=&#34;https://dotnet.work/blog/use-claude-ai-in-home-assistant-studio/2026-02-04-10_56_46-Studio-Code-Server-Home-Assistant-Mozilla-Firefox_hu_fc58830bc1938829.png 800w, https://dotnet.work/blog/use-claude-ai-in-home-assistant-studio/2026-02-04-10_56_46-Studio-Code-Server-Home-Assistant-Mozilla-Firefox_hu_5fc2475700b80717.png 983w&#34; title=&#34;Claude analyzing the configuration.yaml&#34; width=&#34;983&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;That is it. Now you can use claude in Home Assistant Config Files&lt;/p&gt;</description>
        </item></channel>
</rss>
